Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.48/2.48, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 62.73 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2589, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001592/0.2605, allocations: 0.734 MB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006633/0.2612, allocations: 0.7923 MB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.2612, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.2612, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.2613, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.988e-05/0.2614, allocations: 11.92 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.442e-05/0.2614, allocations: 19.98 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.2615, allocations: 15.98 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.2615, allocations: 7.938 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.516e-05/0.2616, allocations: 11.92 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2616, allocations: 4 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.2616, allocations: 0 / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.2616, allocations: 7.938 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.2616, allocations: 8 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.906e-05/0.2617, allocations: 23.89 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2617, allocations: 3.984 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2617, allocations: 0 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.2617, allocations: 0 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003017/0.262, allocations: 347.8 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.2621, allocations: 8.625 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.173e-05/0.2621, allocations: 30.75 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.625e-05/0.2621, allocations: 4.844 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.836e-05/0.2622, allocations: 168.3 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.2622, allocations: 384 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.2622, allocations: 384 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.2623, allocations: 50.23 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2624, allocations: 7.938 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.2624, allocations: 0 / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2624, allocations: 4 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.2625, allocations: 39.83 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.2627, allocations: 241 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2629, allocations: 42.5 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/0.2629, allocations: 28.89 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.263, allocations: 0 / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.263, allocations: 34.5 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.263, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002753/0.2633, allocations: 89.62 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.2633, allocations: 51.41 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.067e-05/0.2633, allocations: 93.86 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2634, allocations: 29.7 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.2634, allocations: 88.12 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.2634, allocations: 3.906 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.2634, allocations: 13.72 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.2635, allocations: 319 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.2636, allocations: 11.98 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.2637, allocations: 19.97 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.2638, allocations: 40.77 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2638, allocations: 3.938 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001608/0.264, allocations: 73.62 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.264, allocations: 4 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.264, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.264, allocations: 0 / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.2641, allocations: 11.98 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2641, allocations: 4 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.2641, allocations: 4 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2641, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 5.436e-05/0.2642, allocations: 121.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.2642, allocations: 3.984 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.2644, allocations: 68.72 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2644, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2644, allocations: 4 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-06/0.2644, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.2646, allocations: 161.6 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2646, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.2646, allocations: 11.92 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2646, allocations: 3.938 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.2646, allocations: 8 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2647, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2647, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.2649, allocations: 167.4 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.2649, allocations: 84.95 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.2649, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.265, allocations: 7.984 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.265, allocations: 4 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.265, allocations: 4 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.2651, allocations: 79.27 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2651, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001951/0.2653, allocations: 8.031 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004161/0.2657, allocations: 0.6967 MB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.2659, allocations: 39.98 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2659, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.2659, allocations: 19.98 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.2662, allocations: 4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.2665, allocations: 135.8 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2666, allocations: 0.6808 MB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2667, allocations: 3.938 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.2667, allocations: 7.438 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2667, allocations: 0 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.318/3.584, allocations: 1.132 MB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/3.584, allocations: 203.7 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/5.1, allocations: 0 / 1.059 GB, free: 1.133 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches