Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001723/0.001723, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002488/0.002488, allocations: 213.4 kB / 22.25 MB, free: 4.859 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.797 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.392/3.392, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.002356/0.002356, allocations: 63.81 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4334, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004187/0.4376, allocations: 1.735 MB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.4394, allocations: 0.9047 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.4395, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.4398, allocations: 27.72 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.4402, allocations: 127.4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.4406, allocations: 155.7 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.4409, allocations: 235.5 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.441, allocations: 29.91 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.4412, allocations: 119.6 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01662/0.4578, allocations: 2.036 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.4579, allocations: 16 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.4581, allocations: 36 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.4582, allocations: 39.84 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.4584, allocations: 83.61 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.459, allocations: 219.1 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.459, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.285e-06/0.459, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.459, allocations: 0 / 1.331 GB, free: 13.16 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001111/0.4601, allocations: 492.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.4601, allocations: 8.031 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.4602, allocations: 38.75 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.935e-05/0.4603, allocations: 28.78 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.4607, allocations: 193.5 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4607, allocations: 8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.4608, allocations: 16 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.461, allocations: 87.38 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.461, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.461, allocations: 3.984 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.461, allocations: 3.938 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.4611, allocations: 51.97 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.4621, allocations: 403.5 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.4625, allocations: 134.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.4626, allocations: 32.84 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4626, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.463, allocations: 103.3 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.463, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004151/0.4634, allocations: 173.6 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.4635, allocations: 51.41 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.4637, allocations: 203.1 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.4638, allocations: 33.64 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.4639, allocations: 120.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.4639, allocations: 39.72 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.4641, allocations: 57.67 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4642, allocations: 326.8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.4643, allocations: 35.98 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.4646, allocations: 239.5 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.4648, allocations: 107.9 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4648, allocations: 4 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000295/0.4651, allocations: 149.4 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4651, allocations: 8 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4651, allocations: 128 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4652, allocations: 8 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.4652, allocations: 15.94 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.4652, allocations: 3.984 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.4655, allocations: 23.92 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.4655, allocations: 8 kB / 1.334 GB, free: 9.734 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: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0001636/0.4657, allocations: 143.5 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.4657, allocations: 19.86 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.4657, allocations: 21.8 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4657, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4658, allocations: 4 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4658, allocations: 4 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.4666, allocations: 448.8 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4666, allocations: 3.984 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.4666, allocations: 4 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4666, allocations: 4 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4666, allocations: 7.938 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4666, allocations: 3.938 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4666, allocations: 4 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.4669, allocations: 239.2 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.4669, allocations: 11.91 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.467, allocations: 7.938 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4671, allocations: 19.91 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.4672, allocations: 27.91 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.4672, allocations: 4 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001508/0.4674, allocations: 144.5 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4674, allocations: 0 / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003367/0.4677, allocations: 47.98 kB / 1.335 GB, free: 8.508 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0009974/0.4687, allocations: 0.8359 MB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002641/0.469, allocations: 99.83 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.469, allocations: 0 / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.4691, allocations: 43.92 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.4695, allocations: 66.38 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.472, allocations: 1.888 MB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.4721, allocations: 108.1 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.4722, allocations: 21.62 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.4724, allocations: 55.41 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4724, allocations: 7.938 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04008/0.5124, allocations: 6.485 MB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.12, allocations: 4.062 kB / 1.344 GB, free: 14.99 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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: 19.200693998020142]