Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.001334/0.001334, allocations: 90.36 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.01181/0.01181, allocations: 170.7 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.494/2.494, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 12 kB / 0.873 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.6445, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.00074/0.6452, allocations: 397 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.6467, allocations: 1.167 MB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.6467, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.6467, allocations: 3.938 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.6468, allocations: 11.92 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.6473, allocations: 135.3 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.6474, allocations: 115.8 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.6475, allocations: 15.97 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.6476, allocations: 43.91 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.6477, allocations: 39.88 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.6477, allocations: 4 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.6478, allocations: 27.97 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.6478, allocations: 11.92 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.6479, allocations: 57.61 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.6481, allocations: 119.6 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.6481, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6481, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6481, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005475/0.6486, allocations: 387.3 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6487, allocations: 8.031 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.6487, allocations: 34.75 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.6488, allocations: 4.938 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.6489, allocations: 184.2 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.649, allocations: 384 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.649, allocations: 12.38 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.6492, allocations: 74.2 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6492, allocations: 7.875 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.6493, allocations: 3.938 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6493, allocations: 4 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.6494, allocations: 39.97 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.6499, allocations: 324.8 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.6502, allocations: 70.48 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.6503, allocations: 32.91 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.6503, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.6506, allocations: 115.2 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.6506, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005894/0.6512, allocations: 185.5 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.6513, allocations: 51.41 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.6513, allocations: 121.8 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.6514, allocations: 29.7 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.6514, allocations: 84.14 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.6515, allocations: 23.78 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.6515, allocations: 21.72 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6517, allocations: 322.8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.6518, allocations: 52.66 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.652, allocations: 82.48 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.6523, allocations: 116.2 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6523, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000401/0.6527, allocations: 207.1 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.6527, allocations: 37.69 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6527, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6527, allocations: 96 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.6529, allocations: 19.94 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6529, allocations: 3.984 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.6531, allocations: 47.97 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.6531, allocations: 8 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001145/0.6532, allocations: 130.8 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.6533, allocations: 7.906 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.6533, allocations: 4.375 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6533, allocations: 11.94 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6533, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6533, allocations: 3.938 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.6539, allocations: 410.4 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6539, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.6539, allocations: 4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6539, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.654, allocations: 8 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.654, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.654, allocations: 3.984 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.6544, allocations: 243.3 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.6544, allocations: 85.02 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.6544, allocations: 0 / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.6545, allocations: 15.98 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.6546, allocations: 4 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.6546, allocations: 11.92 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.721e-05/0.6547, allocations: 91.41 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6547, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002628/0.6549, allocations: 31.98 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007115/0.6557, allocations: 0.7806 MB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.6561, allocations: 183.2 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6561, allocations: 4 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.6562, allocations: 60.08 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.6565, allocations: 21.89 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.6584, allocations: 1.669 MB / 1.031 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6587, allocations: 0.6926 MB / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.6587, allocations: 5.609 kB / 1.032 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.6588, allocations: 19.44 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.6588, allocations: 0 / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.6715, allocations: 2.445 MB / 1.035 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.6718, allocations: 212.4 kB / 1.035 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.402, allocations: 0 / 1.035 GB, free: 3.504 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches