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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008522/0.0008523, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005287/0.005287, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.212/1.212, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5142, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.0006208/0.5149, allocations: 397.6 kB / 0.9556 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.5156, allocations: 0.7902 MB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.5156, allocations: 0 / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.5157, allocations: 1.188 kB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.5157, allocations: 7.875 kB / 0.9563 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.5158, allocations: 10.23 kB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.5159, allocations: 20.73 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.516, allocations: 2.75 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.516, allocations: 3.25 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.516, allocations: 18.95 kB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.5161, allocations: 5.062 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.5161, allocations: 1 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.5161, allocations: 5.109 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.5161, allocations: 35.02 kB / 0.9564 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.093e-05/0.5162, allocations: 19.77 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5162, allocations: 1.312 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5162, allocations: 0 / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.5162, allocations: 0 / 0.9565 GB, free: 6.621 MB / 0.7169 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.0002899/0.5165, allocations: 346.2 kB / 0.9568 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5165, allocations: 9.094 kB / 0.9568 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.131e-05/0.5166, allocations: 31.91 kB / 0.9568 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.5166, allocations: 6 kB / 0.9568 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.638e-05/0.5167, allocations: 161.5 kB / 0.957 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.5167, allocations: 1.656 kB / 0.957 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.5167, allocations: 5.625 kB / 0.957 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5168, allocations: 53.58 kB / 0.957 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5169, allocations: 4.906 kB / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.5169, allocations: 4 kB / 0.9571 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5169, allocations: 4.969 kB / 0.9571 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.517, allocations: 44.27 kB / 0.9571 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.5173, allocations: 248.5 kB / 0.9573 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.5174, allocations: 48.58 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.277e-05/0.5175, allocations: 26.72 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.5175, allocations: 1.219 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.5175, allocations: 35.72 kB / 0.9574 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.5175, allocations: 0 / 0.9574 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.5178, allocations: 98.52 kB / 0.9575 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.5179, allocations: 52.47 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.574e-05/0.5179, allocations: 103.3 kB / 0.9577 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.5179, allocations: 25.7 kB / 0.9577 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.518, allocations: 81.33 kB / 0.9578 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.518, allocations: 9.094 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.518, allocations: 17.72 kB / 0.9578 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.518, allocations: 311.9 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.5181, allocations: 17.92 kB / 0.9581 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.5182, allocations: 27.03 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.5184, allocations: 61.2 kB / 0.9582 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5184, allocations: 3.938 kB / 0.9582 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.5185, allocations: 77.56 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.5186, allocations: 7.156 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.5186, allocations: 0 / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.5186, allocations: 1.219 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.5187, allocations: 12.05 kB / 0.9583 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.5187, allocations: 0 / 0.9583 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.5187, allocations: 13.84 kB / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.5187, allocations: 0 / 0.9583 GB, free: 4.758 MB / 0.7169 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 3.93e-05/0.5188, allocations: 117.8 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.5188, allocations: 5.109 kB / 0.9584 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.519, allocations: 87.44 kB / 0.9585 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.519, allocations: 1.156 kB / 0.9585 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.519, allocations: 0 / 0.9585 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.519, allocations: 0 / 0.9585 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.672e-05/0.5191, allocations: 167.1 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5191, allocations: 0 / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.5192, allocations: 11.95 kB / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5192, allocations: 1.094 kB / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.5192, allocations: 4.031 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5192, allocations: 0 / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5192, allocations: 1.312 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.5194, allocations: 176 kB / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.5195, allocations: 78.27 kB / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.5195, allocations: 9.141 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.5195, allocations: 6 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.5196, allocations: 9.422 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.5196, allocations: 1.156 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.746e-05/0.5196, allocations: 77.81 kB / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5196, allocations: 0 / 0.959 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001979/0.5198, allocations: 7.906 kB / 0.9591 GB, free: 4.008 MB / 0.7169 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.0003267/0.5201, allocations: 0.7085 MB / 0.9597 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.5203, allocations: 47.02 kB / 0.9598 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5203, allocations: 0 / 0.9598 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.5204, allocations: 28.39 kB / 0.9598 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.5207, allocations: 10.59 kB / 0.9598 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.521, allocations: 135.1 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.982e-05/0.5211, allocations: 0.6812 MB / 0.9606 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.5211, allocations: 4.062 kB / 0.9606 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.5211, allocations: 12.66 kB / 0.9606 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/0.5211, allocations: 0 / 0.9606 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.416/1.938, allocations: 1.023 MB / 0.9616 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/1.938, allocations: 202.5 kB / 0.9618 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/3.911, allocations: 0 / 0.9618 GB, free: 1.684 MB / 0.7169 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