Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002329/0.002329, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 68.61 kB / 0.912 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3899, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002253/0.3922, allocations: 0.8226 MB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.3923, allocations: 47.78 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.3924, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.3925, allocations: 11.86 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.295e-05/0.3926, allocations: 7.875 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.103e-05/0.3926, allocations: 19.98 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3927, allocations: 59.84 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3929, allocations: 43.95 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.393, allocations: 27.86 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.393, allocations: 23.86 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3931, allocations: 15.94 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.3931, allocations: 4 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.3931, allocations: 19.92 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.3932, allocations: 35.75 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.3933, allocations: 68.03 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3933, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3933, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3933, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004584/0.3938, allocations: 379.2 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3938, allocations: 8.031 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.3939, allocations: 24.77 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3941, allocations: 192.2 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3941, allocations: 4.375 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.3941, allocations: 8.375 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3943, allocations: 87.89 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3943, allocations: 4.188 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3943, allocations: 7.938 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3943, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.3944, allocations: 47.91 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.3951, allocations: 432.6 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.33e-05/0.3951, allocations: 37.19 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3952, allocations: 29.84 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.3953, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3953, allocations: 30.56 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3953, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.3955, allocations: 65.47 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.3955, allocations: 81.36 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3957, allocations: 161.1 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.3957, allocations: 25.7 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.3958, allocations: 108 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.3958, allocations: 3.906 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.3959, allocations: 17.72 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.396, allocations: 322.8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.396, allocations: 4 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.3961, allocations: 25.66 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.3961, allocations: 25.7 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3961, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.806e-05/0.3962, allocations: 57.55 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3962, allocations: 9.875 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3963, allocations: 3.938 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3963, allocations: 4.062 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.3963, allocations: 11.98 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3964, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.3964, allocations: 7.844 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3964, allocations: 4 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/0.3965, allocations: 114.4 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.3966, allocations: 7.906 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.3966, allocations: 15.89 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3966, allocations: 4 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3966, allocations: 11.92 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3966, allocations: 3.938 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.3971, allocations: 466.8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3971, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.3971, allocations: 7.938 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3971, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3971, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3971, allocations: 4.062 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3971, allocations: 4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.3972, allocations: 81.83 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.3973, allocations: 81.02 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.3973, allocations: 4 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.3974, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.3974, allocations: 8.016 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.3974, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3975, allocations: 125.5 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3975, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001872/0.3977, allocations: 11.91 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002824/0.398, allocations: 99.19 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.3981, allocations: 16 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3981, allocations: 128 / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.3981, allocations: 11.94 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.3983, allocations: 11.94 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.3988, allocations: 168 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.3993, allocations: 0.6885 MB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.3994, allocations: 8.422 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.3994, allocations: 11.44 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3994, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.003111/0.4025, allocations: 448.5 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches