Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.007659/0.007659, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001629/0.00163, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.581/1.581, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.229/3.229, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 74.23 kB / 0.9505 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3939, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001755/0.3957, allocations: 0.6586 MB / 1.088 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.3965, allocations: 0.7926 MB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.3966, allocations: 0 / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.3966, allocations: 4 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.986e-05/0.3967, allocations: 3.938 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.3968, allocations: 15.98 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.247e-05/0.3969, allocations: 19.94 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.397, allocations: 7.984 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.397, allocations: 11.94 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.3971, allocations: 11.97 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3971, allocations: 4 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.3971, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.3971, allocations: 7.938 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.3972, allocations: 8 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.532e-05/0.3973, allocations: 19.91 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3973, allocations: 3.984 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3973, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3973, allocations: 3.938 kB / 1.089 GB, free: 356 kB / 0.8419 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.0004603/0.3978, allocations: 338.4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3978, allocations: 8.031 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.3978, allocations: 30.75 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.3979, allocations: 8.844 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.398, allocations: 168.4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.398, allocations: 384 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.398, allocations: 4.312 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3982, allocations: 50.23 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3983, allocations: 7.938 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3983, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3983, allocations: 3.938 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.3985, allocations: 43.89 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.3988, allocations: 241 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3989, allocations: 38.5 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.399, allocations: 24.89 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.399, allocations: 4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3991, allocations: 34.56 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3991, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003597/0.3994, allocations: 81.58 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.3995, allocations: 51.41 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.3996, allocations: 97.98 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3996, allocations: 29.7 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.3996, allocations: 92.03 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.3997, allocations: 8.547 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.3997, allocations: 9.719 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.3998, allocations: 314.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.3999, allocations: 15.98 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.4, allocations: 19.97 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.4002, allocations: 40.77 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4002, allocations: 3.938 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.4004, allocations: 73.56 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4004, allocations: 5.562 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4004, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4004, allocations: 4.094 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.4005, allocations: 11.98 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4005, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.4006, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.4006, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 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 7.144e-05/0.4007, allocations: 114.1 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.4007, allocations: 3.984 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.4009, allocations: 76.72 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.401, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.401, allocations: 4.188 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.401, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.4011, allocations: 165.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4011, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.4012, allocations: 11.92 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.4012, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4012, allocations: 7.938 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4012, allocations: 4.031 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4012, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.4015, allocations: 167.4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.4015, allocations: 81.02 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.4015, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.4016, allocations: 16.02 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4017, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.4017, allocations: 4 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.4017, allocations: 83.27 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.4017, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002268/0.402, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 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.0005347/0.4025, allocations: 0.6968 MB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4027, allocations: 39.89 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4027, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.4028, allocations: 15.98 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4032, allocations: 12.16 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.4036, allocations: 131.3 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.4038, allocations: 0.6768 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.4038, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.4039, allocations: 11.44 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.4039, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8704/1.274, allocations: 1.276 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.92, allocations: 11.72 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches