Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001778/0.001778, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001966/0.001966, allocations: 222 kB / 22.25 MB, free: 5.102 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.801 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.158/3.158, allocations: 0.49 GB / 0.7951 GB, free: 35.62 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.002235/0.002235, allocations: 66.8 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.428, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003518/0.4315, allocations: 1.725 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.4333, allocations: 0.9008 MB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.4334, allocations: 7.938 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.4335, allocations: 35.66 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.434, allocations: 123.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.4344, allocations: 153 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.4347, allocations: 243.4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.4349, allocations: 37.91 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.435, allocations: 115.7 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0136/0.4486, allocations: 1.708 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.4487, allocations: 20 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4488, allocations: 39.98 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.4489, allocations: 39.84 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.449, allocations: 75.62 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.4495, allocations: 223.1 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4495, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4495, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4495, allocations: 0 / 1.331 GB, free: 12.5 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.0009873/0.4505, allocations: 492.7 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4505, allocations: 8.031 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.4506, allocations: 46.67 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.68e-05/0.4507, allocations: 20.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.451, allocations: 185.6 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.451, allocations: 12 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.4511, allocations: 12 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4513, allocations: 94.67 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4513, allocations: 7.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4513, allocations: 3.938 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4513, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.4514, allocations: 51.97 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.4523, allocations: 391.6 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.4527, allocations: 134.7 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.4529, allocations: 36.84 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.4529, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.4532, allocations: 111.2 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.4532, allocations: 3.938 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004169/0.4536, allocations: 169.6 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.4537, allocations: 55.41 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.4539, allocations: 199.2 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.4539, allocations: 37.69 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.4541, allocations: 124.5 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.4542, allocations: 31.73 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4543, allocations: 61.67 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.4545, allocations: 330.8 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/0.4545, allocations: 31.98 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.4549, allocations: 235.7 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.455, allocations: 105 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.455, allocations: 0 / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002712/0.4553, allocations: 160.3 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4553, allocations: 8 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4553, allocations: 0 / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.4554, allocations: 0 / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.4554, allocations: 15.98 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.4554, allocations: 11.88 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.4557, allocations: 28.05 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.4557, allocations: 4 kB / 1.334 GB, free: 9.07 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.0001568/0.4558, allocations: 152.1 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.4559, allocations: 19.86 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.4559, allocations: 17.81 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4559, allocations: 0 / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4559, allocations: 3.984 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4559, allocations: 0 / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.4567, allocations: 456.7 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4567, allocations: 0 / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.4567, allocations: 7.938 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4567, allocations: 0 / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.4567, allocations: 11.94 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4567, allocations: 3.984 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4567, allocations: 0 / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.4571, allocations: 227.3 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.4572, allocations: 15.89 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.4573, allocations: 11.94 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.4574, allocations: 11.98 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.4575, allocations: 23.91 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.4575, allocations: 11.98 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001385/0.4576, allocations: 140.5 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4576, allocations: 7.875 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004103/0.458, allocations: 44 kB / 1.335 GB, free: 7.848 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.001177/0.4592, allocations: 0.8325 MB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.4596, allocations: 99.78 kB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4596, allocations: 4.188 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4597, allocations: 55.92 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.4602, allocations: 68.31 kB / 1.336 GB, free: 6.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4625, allocations: 1.908 MB / 1.338 GB, free: 4.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4626, allocations: 116.1 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.904e-05/0.4627, allocations: 17.64 kB / 1.338 GB, free: 4.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.4628, allocations: 55.41 kB / 1.338 GB, free: 4.582 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.4628, allocations: 0 / 1.338 GB, free: 4.582 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03981/0.5026, allocations: 6.503 MB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.06, allocations: 13.27 kB / 1.345 GB, free: 14.26 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 18.685693079023622]