Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.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.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",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.001491/0.001491, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001884/0.001884, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.539 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 2.181/2.181, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 75.88 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5387, allocations: 140.4 MB / 0.9493 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001526/0.5402, allocations: 0.7174 MB / 0.95 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.5409, allocations: 0.8166 MB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.5409, allocations: 0 / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.541, allocations: 0 / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.476e-05/0.541, allocations: 5.312 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.114e-05/0.5411, allocations: 9.359 kB / 0.9508 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.422e-05/0.5411, allocations: 17.56 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.5412, allocations: 14.72 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.878e-05/0.5412, allocations: 4.125 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.167e-05/0.5413, allocations: 14.67 kB / 0.9508 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.5413, allocations: 5.375 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.5413, allocations: 2.75 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/0.5413, allocations: 4 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.333e-05/0.5413, allocations: 10.69 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.837e-05/0.5414, allocations: 20.03 kB / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.5414, allocations: 0 / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5414, allocations: 0 / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.5414, allocations: 1.375 kB / 0.9509 GB, free: 7.844 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.0002307/0.5416, allocations: 338.2 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.5416, allocations: 14.03 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.491e-05/0.5417, allocations: 34.73 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.367e-05/0.5417, allocations: 2.312 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.383e-05/0.5417, allocations: 169.7 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-06/0.5417, allocations: 1.406 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.5417, allocations: 1.469 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.5419, allocations: 53.83 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.509e-06/0.5419, allocations: 3.938 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-06/0.5419, allocations: 0 / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.5419, allocations: 5.312 kB / 0.9515 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.542, allocations: 38.91 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.5422, allocations: 240.6 kB / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.5423, allocations: 42.62 kB / 0.9518 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.5424, allocations: 31.55 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.5424, allocations: 3.938 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.001e-05/0.5424, allocations: 31.97 kB / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.5424, allocations: 0 / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002657/0.5427, allocations: 79.98 kB / 0.9519 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.235e-05/0.5427, allocations: 56.94 kB / 0.952 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.394e-05/0.5428, allocations: 94.92 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.5428, allocations: 29.7 kB / 0.9521 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.609e-05/0.5428, allocations: 81.36 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.5428, allocations: 13.14 kB / 0.9522 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.5428, allocations: 18.81 kB / 0.9522 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.086e-05/0.5429, allocations: 316.1 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.5429, allocations: 17.27 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.543, allocations: 22.19 kB / 0.9525 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.5432, allocations: 40.17 kB / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5432, allocations: 3.938 kB / 0.9526 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001645/0.5433, allocations: 67.66 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.5433, allocations: 4.844 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.5434, allocations: 0 / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.5434, allocations: 1.438 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.5434, allocations: 9.328 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.5434, allocations: 5.469 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.5435, allocations: 3 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.5435, allocations: 1.281 kB / 0.9527 GB, free: 5.977 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.673e-05/0.5435, allocations: 119.2 kB / 0.9528 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.5436, allocations: 5.094 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.5438, allocations: 70.17 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5438, allocations: 0.9375 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.5438, allocations: 0 / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-06/0.5438, allocations: 0 / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.633e-05/0.5439, allocations: 158.8 kB / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5439, allocations: 0 / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.544, allocations: 14.2 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.544, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.544, allocations: 1.094 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.544, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.544, allocations: 4.594 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.5442, allocations: 162.9 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.5442, allocations: 83.02 kB / 0.9532 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.5442, allocations: 0 / 0.9532 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.5443, allocations: 7.266 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.5443, allocations: 5.75 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.5443, allocations: 1.875 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.062e-05/0.5443, allocations: 85.89 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5443, allocations: 0 / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001997/0.5445, allocations: 3.312 kB / 0.9533 GB, free: 5.242 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.000324/0.5449, allocations: 0.7032 MB / 0.954 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.545, allocations: 37.45 kB / 0.9541 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.545, allocations: 4.094 kB / 0.9541 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.5451, allocations: 20.55 kB / 0.9541 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5453, allocations: 1.125 kB / 0.9541 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.5456, allocations: 139.8 kB / 0.9542 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.633e-05/0.5457, allocations: 0.6816 MB / 0.9549 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.853e-05/0.5457, allocations: 4.062 kB / 0.9549 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.5458, allocations: 13.06 kB / 0.9549 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.5458, allocations: 0 / 0.9549 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9389/1.485, allocations: 1.119 MB / 0.956 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.485, allocations: 203.7 kB / 0.9562 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/3.535, allocations: 1.75 kB / 0.9562 GB, free: 2.824 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches