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.001409/0.001409, 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.001616/0.001616, allocations: 189.2 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.268/2.268, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5568, allocations: 140.4 MB / 0.9493 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.001695/0.5585, allocations: 0.7129 MB / 0.95 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006148/0.5592, allocations: 0.7918 MB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.5592, allocations: 0 / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.5592, allocations: 1.375 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.5593, allocations: 0 / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.5594, allocations: 10.77 kB / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.5595, allocations: 20.38 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.5596, allocations: 15.08 kB / 0.9508 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.5596, allocations: 11.67 kB / 0.9508 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.5597, allocations: 10.55 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.5597, allocations: 2.25 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-06/0.5597, allocations: 2.531 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.5597, allocations: 4 kB / 0.9508 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.5598, allocations: 10.81 kB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.999e-05/0.5598, allocations: 19.03 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5598, allocations: 0 / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5598, allocations: 1.562 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5598, allocations: 7.938 kB / 0.9508 GB, free: 7.832 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.0003195/0.5602, allocations: 339 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5602, allocations: 9.531 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.323e-05/0.5602, allocations: 34.73 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.045e-05/0.5603, allocations: 3.125 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.433e-05/0.5603, allocations: 165.6 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.5603, allocations: 384 / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.5604, allocations: 2.344 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.5605, allocations: 53.52 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5605, allocations: 3.938 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.5605, allocations: 0 / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5605, allocations: 1.562 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.5607, allocations: 37.98 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.5609, allocations: 244.8 kB / 0.9517 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.5611, allocations: 43.56 kB / 0.9517 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.5611, allocations: 25.64 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5612, allocations: 5.234 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.5612, allocations: 32.06 kB / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5612, allocations: 0 / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003105/0.5615, allocations: 91.5 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.5615, allocations: 52.78 kB / 0.9519 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.149e-05/0.5616, allocations: 97.98 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.5616, allocations: 27.08 kB / 0.9521 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.5616, allocations: 81.52 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.5616, allocations: 11.83 kB / 0.9521 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.5617, allocations: 20.59 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.292e-05/0.5617, allocations: 312.2 kB / 0.9525 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.5618, allocations: 12.23 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.5619, allocations: 25.53 kB / 0.9525 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.562, allocations: 40.02 kB / 0.9525 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.562, allocations: 8 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001708/0.5622, allocations: 65.03 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5622, allocations: 8.062 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5622, allocations: 1.375 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5622, allocations: 0 / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.5623, allocations: 9.484 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5623, allocations: 1.375 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.5624, allocations: 6.781 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.5624, allocations: 1.375 kB / 0.9526 GB, free: 5.969 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 4.124e-05/0.5625, allocations: 115.2 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.5625, allocations: 5.281 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.5627, allocations: 73.92 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5627, allocations: 1.25 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5627, allocations: 0 / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.5627, allocations: 5.188 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.5628, allocations: 157.4 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5628, allocations: 0 / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.5629, allocations: 14.27 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5629, allocations: 1.312 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.5629, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5629, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5629, allocations: 1.188 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.5631, allocations: 167.1 kB / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.5631, allocations: 77.11 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.5631, allocations: 1.062 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.5632, allocations: 12.2 kB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.5633, allocations: 0.9375 kB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.5633, allocations: 1.094 kB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.5633, allocations: 81.73 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5633, allocations: 5 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002153/0.5635, allocations: 2.844 kB / 0.9533 GB, free: 5.234 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.0003448/0.5639, allocations: 0.692 MB / 0.954 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.5641, allocations: 45.33 kB / 0.954 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5641, allocations: 0 / 0.954 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.5642, allocations: 24.48 kB / 0.9541 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.5644, allocations: 5.375 kB / 0.9541 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.5648, allocations: 144.5 kB / 0.9542 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.795e-05/0.5648, allocations: 0.6808 MB / 0.9549 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.5649, allocations: 1.406 kB / 0.9549 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.5649, allocations: 7.438 kB / 0.9549 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.5649, allocations: 5.031 kB / 0.9549 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3201/0.885, allocations: 1.121 MB / 0.956 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.8852, allocations: 200.1 kB / 0.9562 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.62, allocations: 6.609 kB / 0.9562 GB, free: 2.812 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