Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001111/0.001111, 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.0008542/0.0008542, 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.8976/0.8976, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.68/1.68, 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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.769e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003185/0.003203, allocations: 1.747 MB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.004891, allocations: 0.9043 MB / 0.9531 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.004988, allocations: 0 / 0.9531 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.005198, allocations: 39.59 kB / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004376/0.005636, allocations: 123.4 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.006037, allocations: 153 kB / 0.9534 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.00636, allocations: 247.3 kB / 0.9536 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.006504, allocations: 29.8 kB / 0.9536 GB, free: 300 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.006717, allocations: 143.7 kB / 0.9538 GB, free: 156 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005841/0.01256, allocations: 1.992 MB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.01261, allocations: 16 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.01269, allocations: 35.94 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.01275, allocations: 43.83 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.01283, allocations: 67.8 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.01314, allocations: 243.2 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01314, allocations: 0 / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.194e-06/0.01315, allocations: 0 / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.01315, allocations: 0 / 0.9561 GB, free: 14.29 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.0006417/0.01379, allocations: 492.7 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.01383, allocations: 12.02 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.01386, allocations: 38.75 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.01391, allocations: 24.78 kB / 0.9566 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.01412, allocations: 185.4 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.01414, allocations: 16.12 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.01416, allocations: 12 kB / 0.9568 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.01432, allocations: 117 kB / 0.9569 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.01433, allocations: 0 / 0.9569 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.01434, allocations: 12 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01435, allocations: 0 / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/0.01443, allocations: 51.97 kB / 0.957 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.01501, allocations: 487.7 kB / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.01513, allocations: 89.27 kB / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.01518, allocations: 41.77 kB / 0.9576 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.01519, allocations: 3.938 kB / 0.9576 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.01533, allocations: 125 kB / 0.9577 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.01534, allocations: 0 / 0.9577 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0002508/0.01559, allocations: 165.4 kB / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.01562, allocations: 77.11 kB / 0.958 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.01577, allocations: 212.3 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.01579, allocations: 33.7 kB / 0.9582 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.01586, allocations: 116.6 kB / 0.9583 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.01588, allocations: 43.84 kB / 0.9583 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.01594, allocations: 61.62 kB / 0.9584 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.01603, allocations: 330.8 kB / 0.9587 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.01607, allocations: 27.98 kB / 0.9587 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.01626, allocations: 250.6 kB / 0.959 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.01637, allocations: 120.6 kB / 0.9591 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01637, allocations: 0 / 0.9591 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000185/0.01656, allocations: 157.5 kB / 0.9592 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01657, allocations: 8 kB / 0.9593 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01658, allocations: 0 / 0.9593 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.01659, allocations: 4 kB / 0.9593 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.01665, allocations: 23.92 kB / 0.9593 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01665, allocations: 4 kB / 0.9593 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01676, allocations: 23.88 kB / 0.9593 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01677, allocations: 8.156 kB / 0.9593 GB, free: 10.67 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 9.031e-05/0.01686, allocations: 151.8 kB / 0.9595 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.01688, allocations: 15.91 kB / 0.9595 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.01691, allocations: 21.47 kB / 0.9595 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01691, allocations: 3.984 kB / 0.9595 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01692, allocations: 4 kB / 0.9595 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01692, allocations: 0 / 0.9595 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.0173, allocations: 421.2 kB / 0.9599 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.0173, allocations: 4 kB / 0.9599 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.01731, allocations: 11.98 kB / 0.9599 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01731, allocations: 0 / 0.9599 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.01732, allocations: 0 / 0.9599 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01732, allocations: 4 kB / 0.9599 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01732, allocations: 0 / 0.9599 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.01748, allocations: 236.1 kB / 0.9601 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.0175, allocations: 15.84 kB / 0.9602 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.01752, allocations: 8 kB / 0.9602 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.01758, allocations: 11.98 kB / 0.9602 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.01763, allocations: 19.91 kB / 0.9602 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.01764, allocations: 15.98 kB / 0.9602 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.273e-05/0.01773, allocations: 147 kB / 0.9604 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01773, allocations: 0 / 0.9604 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002101/0.01794, allocations: 47.89 kB / 0.9604 GB, free: 9.477 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.0004879/0.01842, allocations: 0.8381 MB / 0.9612 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.01858, allocations: 91.84 kB / 0.9613 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01858, allocations: 0 / 0.9613 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.01864, allocations: 49.73 kB / 0.9614 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.0189, allocations: 62.55 kB / 0.9614 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.02047, allocations: 1.929 MB / 0.9633 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.358e-05/0.02056, allocations: 116.2 kB / 0.9634 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.187e-05/0.02065, allocations: 21.64 kB / 0.9634 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.02073, allocations: 60.47 kB / 0.9635 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.02073, allocations: 0 / 0.9635 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.0401, allocations: 6.549 MB / 0.9699 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/7.253, allocations: 14.05 kB / 0.9699 GB, free: 15.84 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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: 11.195041456259787]