Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 217.6 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.251/3.251, allocations: 0.49 GB / 0.7951 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 69.89 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00195/0.3731, allocations: 0.7511 MB / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3751, allocations: 1.194 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.3751, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.3752, allocations: 7.938 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.3752, allocations: 7.875 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.3758, allocations: 138 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.376, allocations: 119.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3761, allocations: 11.98 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3762, allocations: 43.92 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3763, allocations: 51.8 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.3764, allocations: 12 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.3764, allocations: 23.98 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.3765, allocations: 8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.3765, allocations: 51.77 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3768, allocations: 107.9 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3768, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3768, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.3768, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 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.0006502/0.3774, allocations: 335.8 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.3775, allocations: 8.031 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.3775, allocations: 38.73 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.3776, allocations: 12.89 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3777, allocations: 118.4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3777, allocations: 4.375 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.3777, allocations: 8.375 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3779, allocations: 66.22 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.378, allocations: 3.938 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.378, allocations: 4 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.378, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.3782, allocations: 47.88 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.3787, allocations: 299.8 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3789, allocations: 58.55 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.379, allocations: 36.95 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.379, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.3794, allocations: 91.31 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.3794, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004854/0.3798, allocations: 137.6 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.3799, allocations: 59.39 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.38, allocations: 129.7 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.38, allocations: 25.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.3801, allocations: 92.14 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.3801, allocations: 19.84 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.3802, allocations: 41.69 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3804, allocations: 322.8 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3805, allocations: 51.95 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3807, allocations: 94.62 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.381, allocations: 137.9 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.381, allocations: 3.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004517/0.3815, allocations: 215.1 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.3815, allocations: 37.69 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3815, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3815, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3816, allocations: 15.98 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3817, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3819, allocations: 39.98 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.3819, allocations: 11.98 kB / 1.331 GB, free: 12.63 MB / 1.029 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.0001167/0.382, allocations: 127.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.382, allocations: 3.953 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.382, allocations: 12.38 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.382, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.382, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3821, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.3826, allocations: 349.5 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3826, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.3826, allocations: 7.984 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3826, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3826, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3826, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3826, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.3829, allocations: 219.3 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.3829, allocations: 15.88 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.383, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.383, allocations: 7.984 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.3831, allocations: 15.92 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3831, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.3832, allocations: 91.27 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3832, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002614/0.3834, allocations: 28 kB / 1.332 GB, free: 11.68 MB / 1.029 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.000651/0.3841, allocations: 0.744 MB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.3845, allocations: 175.1 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3845, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3846, allocations: 27.98 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3849, allocations: 20.36 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3871, allocations: 1.68 MB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3874, allocations: 0.6924 MB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.3874, allocations: 7.984 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.3875, allocations: 15.44 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3875, allocations: 4 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.4171, allocations: 2.696 MB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.12, allocations: 14.41 kB / 1.338 GB, free: 5.57 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable change.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable change.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.074473700000453]