Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.0008499/0.0008499, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000865/0.000865, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.929/0.929, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.737/1.737, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 0.9505 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.813e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003563/0.003591, allocations: 1.725 MB / 0.9522 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.005494, allocations: 0.9043 MB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.005618, allocations: 7.938 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.005866, allocations: 35.66 kB / 0.9531 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.006404, allocations: 127.3 kB / 0.9532 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.006835, allocations: 154.8 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.007172, allocations: 247.3 kB / 0.9536 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.007327, allocations: 25.8 kB / 0.9536 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.007559, allocations: 155.7 kB / 0.9538 GB, free: 188 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006884/0.01444, allocations: 1.637 MB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.01452, allocations: 16 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.01463, allocations: 39.92 kB / 0.9554 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.0147, allocations: 39.83 kB / 0.9554 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.682e-05/0.01479, allocations: 67.81 kB / 0.9555 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.01513, allocations: 243.2 kB / 0.9557 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01514, allocations: 0 / 0.9557 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.874e-06/0.01514, allocations: 0 / 0.9557 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.01514, allocations: 0 / 0.9557 GB, free: 14.58 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007101/0.01585, allocations: 496.6 kB / 0.9562 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.01589, allocations: 12.03 kB / 0.9562 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.01593, allocations: 42.73 kB / 0.9563 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.01599, allocations: 20.84 kB / 0.9563 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.01621, allocations: 185.4 kB / 0.9565 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.01623, allocations: 16.12 kB / 0.9565 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.01625, allocations: 8 kB / 0.9565 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.01645, allocations: 117.4 kB / 0.9566 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.01646, allocations: 0 / 0.9566 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.01647, allocations: 12 kB / 0.9566 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.01648, allocations: 0 / 0.9566 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.11e-05/0.01657, allocations: 55.91 kB / 0.9567 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.01717, allocations: 483.8 kB / 0.9571 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.01731, allocations: 89.12 kB / 0.9572 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.01736, allocations: 45.89 kB / 0.9573 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.01738, allocations: 4 kB / 0.9573 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.01755, allocations: 119.9 kB / 0.9574 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.01755, allocations: 0 / 0.9574 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0004634/0.01801, allocations: 172.1 kB / 0.9575 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.01806, allocations: 85.09 kB / 0.9576 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.01821, allocations: 200.4 kB / 0.9578 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.01824, allocations: 29.7 kB / 0.9578 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.01831, allocations: 128.5 kB / 0.958 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.01834, allocations: 39.86 kB / 0.958 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.0184, allocations: 61.67 kB / 0.9581 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.01849, allocations: 326.8 kB / 0.9584 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.01853, allocations: 35.92 kB / 0.9584 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.01875, allocations: 251 kB / 0.9586 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.01885, allocations: 113.8 kB / 0.9587 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01886, allocations: 0 / 0.9587 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001883/0.01905, allocations: 172.3 kB / 0.9589 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.01906, allocations: 8 kB / 0.9589 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01907, allocations: 0 / 0.9589 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.01908, allocations: 4 kB / 0.9589 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.01916, allocations: 15.94 kB / 0.9589 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01916, allocations: 4 kB / 0.9589 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.01928, allocations: 31.86 kB / 0.959 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.01929, allocations: 4.156 kB / 0.959 GB, free: 10.95 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0002772/0.01957, allocations: 147.7 kB / 0.9591 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.01959, allocations: 15.91 kB / 0.9591 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.01962, allocations: 21.55 kB / 0.9592 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01963, allocations: 3.984 kB / 0.9592 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.01963, allocations: 4 kB / 0.9592 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01963, allocations: 0 / 0.9592 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.02004, allocations: 429.3 kB / 0.9596 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02004, allocations: 0 / 0.9596 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.02006, allocations: 8 kB / 0.9596 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.02006, allocations: 0 / 0.9596 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.02007, allocations: 0 / 0.9596 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.02008, allocations: 7.984 kB / 0.9596 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.02008, allocations: 0 / 0.9596 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.02024, allocations: 228.2 kB / 0.9598 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.02026, allocations: 19.84 kB / 0.9598 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.02028, allocations: 7.984 kB / 0.9598 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.02035, allocations: 11.98 kB / 0.9598 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.0204, allocations: 23.91 kB / 0.9599 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.02042, allocations: 8 kB / 0.9599 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.368e-05/0.02052, allocations: 147 kB / 0.96 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.02052, allocations: 0 / 0.96 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002228/0.02074, allocations: 47.94 kB / 0.9601 GB, free: 9.762 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.000575/0.02131, allocations: 0.8508 MB / 0.9609 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.02149, allocations: 91.89 kB / 0.961 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.0215, allocations: 0 / 0.961 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.02156, allocations: 44.23 kB / 0.961 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.02194, allocations: 55.95 kB / 0.9611 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.02376, allocations: 1.95 MB / 0.963 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.574e-05/0.02383, allocations: 112.2 kB / 0.9631 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.23e-05/0.02391, allocations: 21.62 kB / 0.9631 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.02398, allocations: 60.47 kB / 0.9632 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of SimCode: time 8.71e-07/0.02398, allocations: 3.938 kB / 0.9632 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.04591, allocations: 6.533 MB / 0.9695 GB, free: 108 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.427, allocations: 4.312 kB / 0.9696 GB, free: 108 kB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.67977044917643]