Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.89 kB / 1.056 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9169/0.9189, allocations: 160.7 MB / 1.213 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003653/0.9225, allocations: 1.751 MB / 1.215 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.9242, allocations: 0.9115 MB / 1.216 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.9243, allocations: 1.312 kB / 1.216 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.9246, allocations: 28.98 kB / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.925, allocations: 122.7 kB / 1.216 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.9254, allocations: 158.6 kB / 1.216 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.9257, allocations: 237.8 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.9259, allocations: 25.81 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.926, allocations: 116.4 kB / 1.216 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01617/0.9422, allocations: 2.033 MB / 1.218 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/0.9423, allocations: 17.62 kB / 1.218 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.9425, allocations: 35.97 kB / 1.218 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.9426, allocations: 50.91 kB / 1.218 GB, free: 472 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.9427, allocations: 90.61 kB / 1.218 GB, free: 404 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.9432, allocations: 218.3 kB / 1.219 GB, free: 244 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9432, allocations: 0.9062 kB / 1.219 GB, free: 244 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9432, allocations: 3.938 kB / 1.219 GB, free: 240 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.9432, allocations: 0 / 1.219 GB, free: 240 kB / 0.92 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.001021/0.9442, allocations: 0.5504 MB / 1.219 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.9443, allocations: 9.906 kB / 1.219 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/0.9443, allocations: 45.67 kB / 1.219 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.9444, allocations: 19.5 kB / 1.219 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.9448, allocations: 251.5 kB / 1.219 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.9448, allocations: 11.22 kB / 1.219 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.9449, allocations: 10.66 kB / 1.219 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.9451, allocations: 87.28 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.9452, allocations: 4.797 kB / 1.22 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.9452, allocations: 5.094 kB / 1.22 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.9452, allocations: 2.094 kB / 1.22 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.9453, allocations: 49 kB / 1.22 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.9464, allocations: 476.7 kB / 1.22 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.9469, allocations: 127.1 kB / 1.22 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.947, allocations: 31.84 kB / 1.22 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.947, allocations: 1.031 kB / 1.22 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.9475, allocations: 116.4 kB / 1.22 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.9475, allocations: 4 kB / 1.22 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004605/0.9479, allocations: 164.7 kB / 1.22 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.948, allocations: 54.44 kB / 1.22 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.9483, allocations: 208.1 kB / 1.221 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.9483, allocations: 29.08 kB / 1.221 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.9485, allocations: 123 kB / 1.221 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.9485, allocations: 36.84 kB / 1.221 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.9487, allocations: 56.53 kB / 1.221 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.9489, allocations: 334.9 kB / 1.221 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.949, allocations: 30.8 kB / 1.221 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.9493, allocations: 128.9 kB / 1.221 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.9495, allocations: 98.73 kB / 1.221 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.9495, allocations: 3.938 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003239/0.9498, allocations: 160.6 kB / 1.222 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.9498, allocations: 8.719 kB / 1.222 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.9498, allocations: 1.188 kB / 1.222 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.9499, allocations: 2.125 kB / 1.222 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.539e-05/0.95, allocations: 19.47 kB / 1.222 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.95, allocations: 2.156 kB / 1.222 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.9502, allocations: 32.2 kB / 1.222 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.9502, allocations: 4.688 kB / 1.222 GB, free: 13.47 MB / 0.9356 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.0001893/0.9504, allocations: 142.6 kB / 1.222 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.9504, allocations: 15.66 kB / 1.222 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.9505, allocations: 25.36 kB / 1.222 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9505, allocations: 6.25 kB / 1.222 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.9505, allocations: 0 / 1.222 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9505, allocations: 0.9375 kB / 1.222 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008915/0.9514, allocations: 0.4901 MB / 1.222 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9514, allocations: 5.062 kB / 1.222 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.9515, allocations: 2.5 kB / 1.222 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9515, allocations: 1.438 kB / 1.222 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.9515, allocations: 5.125 kB / 1.222 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9515, allocations: 5.188 kB / 1.222 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9515, allocations: 0 / 1.222 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.9518, allocations: 243 kB / 1.223 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-05/0.9519, allocations: 89.08 kB / 1.223 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.9519, allocations: 6.312 kB / 1.223 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.952, allocations: 17.97 kB / 1.223 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.9521, allocations: 17.89 kB / 1.223 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.9521, allocations: 12.92 kB / 1.223 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001426/0.9523, allocations: 141.2 kB / 1.223 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9523, allocations: 0 / 1.223 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003272/0.9526, allocations: 47.39 kB / 1.223 GB, free: 12.41 MB / 0.9356 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.0009413/0.9535, allocations: 0.8334 MB / 1.224 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.9538, allocations: 102.6 kB / 1.224 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9538, allocations: 0 / 1.224 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.9539, allocations: 45.95 kB / 1.224 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.9544, allocations: 54.64 kB / 1.224 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.9571, allocations: 1.898 MB / 1.226 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.9575, allocations: 0.7327 MB / 1.227 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.9576, allocations: 27.06 kB / 1.227 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.9577, allocations: 56.39 kB / 1.227 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/0.9577, allocations: 0 / 1.227 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.9897, allocations: 5.623 MB / 1.232 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/9.412, allocations: 6.25 kB / 1.232 GB, free: 4.723 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.438512559980154]