Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.01015/0.01015, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.002067/0.002066, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.907/1.907, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.432/2.432, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 71.88 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701/1.703, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.003367/1.707, allocations: 0.7525 MB / 1.088 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002473/1.709, allocations: 1.152 MB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/1.709, allocations: 4 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/1.71, allocations: 5.891 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/1.71, allocations: 9.969 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000851/1.711, allocations: 129.2 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000337/1.711, allocations: 137.4 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/1.711, allocations: 13.14 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/1.711, allocations: 44 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/1.711, allocations: 46.09 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/1.711, allocations: 10.09 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/1.712, allocations: 24.61 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.93e-05/1.712, allocations: 12.89 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/1.712, allocations: 47.42 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/1.712, allocations: 111.5 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/1.712, allocations: 0.7969 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.376e-06/1.712, allocations: 0 / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.712, allocations: 1.062 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001001/1.713, allocations: 415.1 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.044e-05/1.713, allocations: 9.359 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/1.713, allocations: 34.19 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/1.714, allocations: 13.47 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/1.714, allocations: 174.7 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.714, allocations: 2.969 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/1.714, allocations: 11.42 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/1.714, allocations: 70.88 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.714, allocations: 5.031 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/1.714, allocations: 0 / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/1.714, allocations: 1.531 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/1.715, allocations: 42.64 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009818/1.716, allocations: 337 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/1.716, allocations: 58.95 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/1.716, allocations: 36.03 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/1.716, allocations: 0.6875 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/1.717, allocations: 91.31 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.577e-06/1.717, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008932/1.718, allocations: 136.6 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/1.718, allocations: 58.45 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/1.718, allocations: 121.1 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/1.718, allocations: 32.33 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/1.718, allocations: 89.12 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/1.718, allocations: 24.52 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/1.719, allocations: 38.22 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.719, allocations: 327.9 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/1.719, allocations: 57.48 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/1.719, allocations: 83.27 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/1.72, allocations: 142.1 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.72, allocations: 0.625 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008943/1.721, allocations: 204.6 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/1.721, allocations: 39.27 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.721, allocations: 1.656 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/1.721, allocations: 6.703 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/1.721, allocations: 11.11 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.721, allocations: 1.969 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/1.722, allocations: 34.25 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/1.722, allocations: 12.64 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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.0001587/1.722, allocations: 129.4 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/1.722, allocations: 7.844 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/1.722, allocations: 10.17 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/1.722, allocations: 2.281 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.722, allocations: 0 / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.722, allocations: 1.219 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009262/1.723, allocations: 373.2 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.723, allocations: 5.562 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.723, allocations: 12.48 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/1.723, allocations: 1 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/1.723, allocations: 5.875 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.723, allocations: 4.328 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.723, allocations: 0.8594 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/1.724, allocations: 212.5 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/1.724, allocations: 88.02 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/1.724, allocations: 1.375 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/1.724, allocations: 14.88 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.724, allocations: 9.344 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/1.724, allocations: 3.422 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.618e-05/1.725, allocations: 91.25 kB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.9e-07/1.725, allocations: 3.938 kB / 1.093 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005853/1.725, allocations: 25.11 kB / 1.093 GB, free: 0.6211 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001204/1.726, allocations: 0.7472 MB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008476/1.727, allocations: 176.7 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.727, allocations: 4.25 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/1.728, allocations: 41.48 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/1.728, allocations: 12.75 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/1.732, allocations: 1.69 MB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/1.733, allocations: 0.6913 MB / 1.097 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.111e-05/1.733, allocations: 5.078 kB / 1.097 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/1.733, allocations: 21.05 kB / 1.097 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of SimCode: time 9.82e-07/1.733, allocations: 0.8125 kB / 1.097 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/1.773, allocations: 2.549 MB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/14.24, allocations: 3.312 kB / 1.099 GB, free: 13.21 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches