Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.001632/0.001632, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002119, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.263/2.263, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.6049, allocations: 140.4 MB / 0.9497 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.00168/0.6066, allocations: 0.6992 MB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.6073, allocations: 0.8749 MB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.6074, allocations: 0 / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.6074, allocations: 0 / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.6075, allocations: 9.5 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.6076, allocations: 16.05 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.6077, allocations: 45.66 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.6078, allocations: 8.172 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.391e-05/0.6078, allocations: 29.48 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.6079, allocations: 17.48 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.6079, allocations: 4.5 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.6079, allocations: 2.531 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.6079, allocations: 13.11 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.608, allocations: 16.03 kB / 0.9514 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.608, allocations: 43.45 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.608, allocations: 0 / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.608, allocations: 0 / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.608, allocations: 1.094 kB / 0.9515 GB, free: 7.715 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003921/0.6084, allocations: 365.3 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.6085, allocations: 9.875 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.505e-05/0.6085, allocations: 34.75 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.6085, allocations: 7.938 kB / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.129e-05/0.6086, allocations: 173.7 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.6086, allocations: 1.531 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-06/0.6086, allocations: 1.875 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.6089, allocations: 72.41 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6089, allocations: 7.875 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.6089, allocations: 0 / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6089, allocations: 1.406 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.6092, allocations: 62.55 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.6094, allocations: 271.7 kB / 0.9524 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.6096, allocations: 52.28 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.6098, allocations: 39.73 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.6098, allocations: 5.125 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.6098, allocations: 34.56 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.6098, allocations: 1.156 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005125/0.6104, allocations: 129 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.6104, allocations: 52.59 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/0.6105, allocations: 120.5 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.6105, allocations: 25.7 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.6105, allocations: 85.58 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.6105, allocations: 9.25 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.6106, allocations: 20.52 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.194e-05/0.6106, allocations: 311.9 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.6107, allocations: 34.41 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.6109, allocations: 36.58 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.6112, allocations: 75.52 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6112, allocations: 4 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003144/0.6115, allocations: 101.8 kB / 0.9535 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.6115, allocations: 5.438 kB / 0.9535 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.6115, allocations: 0 / 0.9535 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6115, allocations: 1.625 kB / 0.9535 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.6117, allocations: 13.08 kB / 0.9535 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.6117, allocations: 1.594 kB / 0.9535 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.6118, allocations: 18.47 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.6118, allocations: 9.5 kB / 0.9536 GB, free: 5.688 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 (3): * Single equations (assignments): 3 * 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.46e-05/0.6118, allocations: 110.8 kB / 0.9537 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.6118, allocations: 6.312 kB / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.6119, allocations: 9.469 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.6119, allocations: 0 / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6119, allocations: 1.469 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.6119, allocations: 0 / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.612, allocations: 173.9 kB / 0.9539 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.612, allocations: 0 / 0.9539 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.6121, allocations: 17.7 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6121, allocations: 0.8125 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.6121, allocations: 0 / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6121, allocations: 1.375 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6121, allocations: 0 / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.6125, allocations: 204.5 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.6125, allocations: 82.36 kB / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.6125, allocations: 0 / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6126, allocations: 11.23 kB / 0.9542 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.6127, allocations: 7.078 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.6127, allocations: 0 / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.6127, allocations: 86 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6127, allocations: 0 / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002173/0.6129, allocations: 10.72 kB / 0.9543 GB, free: 4.973 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 (3): * Single equations (assignments): 3 * 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.0004905/0.6134, allocations: 0.7329 MB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.6137, allocations: 74.23 kB / 0.9551 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6138, allocations: 0 / 0.9551 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.6139, allocations: 41.77 kB / 0.9551 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.6142, allocations: 5.281 kB / 0.9551 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.6146, allocations: 160.8 kB / 0.9552 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.903e-05/0.6147, allocations: 0.6829 MB / 0.9559 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.606e-05/0.6147, allocations: 2.5 kB / 0.9559 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.6147, allocations: 16.89 kB / 0.9559 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6147, allocations: 0 / 0.9559 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.6313, allocations: 1.655 MB / 0.9576 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.861, allocations: 2.156 kB / 0.9576 GB, free: 2.422 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches