Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000956/0.000956, 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.001012/0.001012, allocations: 170.3 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.8994/0.8994, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.637/1.637, allocations: 359 MB / 0.6037 GB, free: 11.09 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.395e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002009/0.002023, allocations: 1.737 MB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003049, allocations: 0.9043 MB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.003116, allocations: 11.94 kB / 0.9531 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.003271, allocations: 23.67 kB / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.003566, allocations: 123.4 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.003815, allocations: 153.9 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.004025, allocations: 247.3 kB / 0.9536 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.004128, allocations: 29.72 kB / 0.9536 GB, free: 300 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.00426, allocations: 143.7 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005792/0.01005, allocations: 2.025 MB / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.01009, allocations: 20 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/0.01016, allocations: 32 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.01021, allocations: 47.81 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.01028, allocations: 63.81 kB / 0.9559 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.01054, allocations: 243.2 kB / 0.9561 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.01055, allocations: 0 / 0.9561 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01055, allocations: 0 / 0.9561 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.01055, allocations: 0 / 0.9561 GB, free: 14.27 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005683/0.01112, allocations: 496.6 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.01115, allocations: 8.031 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.01118, allocations: 42.75 kB / 0.9566 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.01123, allocations: 16.84 kB / 0.9566 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.01142, allocations: 189.4 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.01144, allocations: 20.12 kB / 0.9568 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.01146, allocations: 15.94 kB / 0.9569 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.01159, allocations: 91.2 kB / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.0116, allocations: 0 / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.01161, allocations: 7.984 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.01161, allocations: 0 / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.0117, allocations: 51.94 kB / 0.957 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.0122, allocations: 395.6 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.01245, allocations: 122.7 kB / 0.9575 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.01249, allocations: 32.8 kB / 0.9575 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.01251, allocations: 4 kB / 0.9575 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.01264, allocations: 123.4 kB / 0.9577 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.01264, allocations: 0 / 0.9577 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.000253/0.0129, allocations: 165.9 kB / 0.9578 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.01293, allocations: 55.41 kB / 0.9579 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.01306, allocations: 208.3 kB / 0.9581 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.01308, allocations: 37.64 kB / 0.9581 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.01314, allocations: 120.6 kB / 0.9582 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.01317, allocations: 35.73 kB / 0.9583 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.01323, allocations: 61.66 kB / 0.9583 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.01331, allocations: 330.8 kB / 0.9586 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.01336, allocations: 35.98 kB / 0.9587 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.01354, allocations: 232.3 kB / 0.9589 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.01363, allocations: 92.23 kB / 0.959 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01364, allocations: 3.938 kB / 0.959 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001648/0.0138, allocations: 171.9 kB / 0.9591 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01382, allocations: 8 kB / 0.9591 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01382, allocations: 0 / 0.9591 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01384, allocations: 0 / 0.9591 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.223e-05/0.01388, allocations: 15.94 kB / 0.9592 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01388, allocations: 4 kB / 0.9592 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.01399, allocations: 27.92 kB / 0.9592 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.014, allocations: 4 kB / 0.9592 GB, free: 10.85 MB / 0.9167 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 8.806e-05/0.01408, allocations: 147.7 kB / 0.9593 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.0141, allocations: 23.97 kB / 0.9594 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.01413, allocations: 21.8 kB / 0.9594 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01413, allocations: 0 / 0.9594 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01414, allocations: 0 / 0.9594 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01414, allocations: 3.938 kB / 0.9594 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.01454, allocations: 453.3 kB / 0.9598 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01455, allocations: 0 / 0.9598 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.01456, allocations: 7.984 kB / 0.9598 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.01456, allocations: 0 / 0.9598 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.01457, allocations: 8 kB / 0.9598 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01457, allocations: 4 kB / 0.9598 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01457, allocations: 0 / 0.9598 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.01472, allocations: 235.2 kB / 0.9601 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01474, allocations: 15.91 kB / 0.9601 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.01475, allocations: 4 kB / 0.9601 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.01482, allocations: 19.92 kB / 0.9601 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.01487, allocations: 23.89 kB / 0.9601 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.01488, allocations: 8 kB / 0.9601 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.302e-05/0.01497, allocations: 139 kB / 0.9603 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01497, allocations: 4 kB / 0.9603 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002162/0.01518, allocations: 51.89 kB / 0.9603 GB, free: 9.625 MB / 0.9167 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.0004966/0.01568, allocations: 0.8308 MB / 0.9611 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.01585, allocations: 106.3 kB / 0.9612 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01585, allocations: 4 kB / 0.9612 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.01591, allocations: 54.53 kB / 0.9613 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.01618, allocations: 48.14 kB / 0.9613 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.01759, allocations: 1.888 MB / 0.9632 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.01766, allocations: 116.2 kB / 0.9633 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.881e-05/0.01773, allocations: 21.64 kB / 0.9633 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.01781, allocations: 56.47 kB / 0.9634 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.01781, allocations: 0 / 0.9634 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.03528, allocations: 6.609 MB / 0.9698 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/7.221, allocations: 7.453 kB / 0.9698 GB, free: 15.99 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.101199263706803]