Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 104.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.065/3.065, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.88 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 173.9 MB / 1.304 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002907/1.031, allocations: 1.802 MB / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001636/1.033, allocations: 1.03 MB / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/1.033, allocations: 0 / 1.307 GB, free: 30.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007955/1.033, allocations: 168.2 kB / 1.307 GB, free: 30.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/1.034, allocations: 109.6 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/1.034, allocations: 178.1 kB / 1.307 GB, free: 30.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/1.035, allocations: 164.3 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/1.035, allocations: 17.48 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/1.035, allocations: 72.22 kB / 1.307 GB, free: 29.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/1.035, allocations: 72.58 kB / 1.307 GB, free: 29.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/1.035, allocations: 8.188 kB / 1.307 GB, free: 29.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/1.035, allocations: 60.73 kB / 1.308 GB, free: 29.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/1.035, allocations: 50.38 kB / 1.308 GB, free: 29.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/1.035, allocations: 66.36 kB / 1.308 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/1.036, allocations: 198.4 kB / 1.308 GB, free: 29.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.036, allocations: 0 / 1.308 GB, free: 29.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.446e-06/1.036, allocations: 4 kB / 1.308 GB, free: 29.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.036, allocations: 0 / 1.308 GB, free: 29.72 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009118/1.037, allocations: 495.3 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/1.037, allocations: 10.47 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/1.037, allocations: 40.98 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/1.037, allocations: 18.3 kB / 1.308 GB, free: 29.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/1.037, allocations: 242 kB / 1.309 GB, free: 28.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.037, allocations: 7.125 kB / 1.309 GB, free: 28.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/1.037, allocations: 14.56 kB / 1.309 GB, free: 28.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/1.037, allocations: 89.89 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.037, allocations: 3.984 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.037, allocations: 4 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/1.037, allocations: 2.906 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.883e-05/1.037, allocations: 31.47 kB / 1.309 GB, free: 28.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/1.038, allocations: 362.6 kB / 1.309 GB, free: 28.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/1.038, allocations: 70.47 kB / 1.309 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/1.038, allocations: 29.92 kB / 1.309 GB, free: 28.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/1.038, allocations: 2.844 kB / 1.309 GB, free: 28.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/1.038, allocations: 84.62 kB / 1.309 GB, free: 28.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/1.038, allocations: 4 kB / 1.309 GB, free: 28.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003792/1.039, allocations: 140.4 kB / 1.309 GB, free: 28.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/1.039, allocations: 80.44 kB / 1.31 GB, free: 28.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/1.039, allocations: 272.8 kB / 1.31 GB, free: 28.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/1.039, allocations: 25.7 kB / 1.31 GB, free: 28.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/1.039, allocations: 119.5 kB / 1.31 GB, free: 27.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/1.039, allocations: 28.91 kB / 1.31 GB, free: 27.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/1.039, allocations: 25.16 kB / 1.31 GB, free: 27.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/1.039, allocations: 335.2 kB / 1.31 GB, free: 27.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/1.039, allocations: 26.84 kB / 1.31 GB, free: 27.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/1.04, allocations: 56.39 kB / 1.31 GB, free: 27.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/1.04, allocations: 73.12 kB / 1.31 GB, free: 27.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.04, allocations: 2.875 kB / 1.31 GB, free: 27.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001925/1.04, allocations: 125.3 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.04, allocations: 8.375 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.04, allocations: 0 / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/1.04, allocations: 0 / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/1.04, allocations: 12.16 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.04, allocations: 2.875 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/1.04, allocations: 6.969 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/1.04, allocations: 2.875 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 0.0001363/1.04, allocations: 148.9 kB / 1.311 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/1.04, allocations: 16.25 kB / 1.311 GB, free: 27.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/1.04, allocations: 21.83 kB / 1.311 GB, free: 27.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.04, allocations: 5.125 kB / 1.311 GB, free: 27.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.04, allocations: 0 / 1.311 GB, free: 27.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.04, allocations: 7.875 kB / 1.311 GB, free: 27.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/1.04, allocations: 229 kB / 1.311 GB, free: 27.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.04, allocations: 0 / 1.311 GB, free: 27.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/1.04, allocations: 5.031 kB / 1.311 GB, free: 27.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.04, allocations: 7.328 kB / 1.311 GB, free: 27.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/1.041, allocations: 2.469 kB / 1.311 GB, free: 27.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.041, allocations: 0 / 1.311 GB, free: 27.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.041, allocations: 0 / 1.311 GB, free: 27.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/1.041, allocations: 144.9 kB / 1.311 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/1.041, allocations: 95.95 kB / 1.311 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/1.041, allocations: 6.438 kB / 1.311 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/1.041, allocations: 2.812 kB / 1.311 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/1.041, allocations: 14.27 kB / 1.311 GB, free: 26.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/1.041, allocations: 2.781 kB / 1.311 GB, free: 26.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001815/1.041, allocations: 195.6 kB / 1.311 GB, free: 26.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.041, allocations: 0 / 1.311 GB, free: 26.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002698/1.041, allocations: 30.66 kB / 1.311 GB, free: 26.7 MB / 1.061 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 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.001986/1.043, allocations: 1.008 MB / 1.312 GB, free: 25.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002679/1.044, allocations: 67.52 kB / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.044, allocations: 0 / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/1.044, allocations: 31.3 kB / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/1.044, allocations: 38.95 kB / 1.313 GB, free: 25.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/1.046, allocations: 1.98 MB / 1.315 GB, free: 24.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/1.047, allocations: 0.7192 MB / 1.315 GB, free: 23.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.831e-05/1.047, allocations: 22.67 kB / 1.315 GB, free: 23.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/1.047, allocations: 49.77 kB / 1.315 GB, free: 23.77 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/1.047, allocations: 6.125 kB / 1.315 GB, free: 23.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/1.077, allocations: 4.542 MB / 1.32 GB, free: 22.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/9.158, allocations: 10.39 kB / 1.32 GB, free: 22.91 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.889249981380999]