Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006554/0.006554, allocations: 102.5 kB / 15.73 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 197.3 kB / 16.68 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437.1 MB / 0.7106 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3367, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003141/0.3399, allocations: 1.728 MB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3415, allocations: 0.9007 MB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.3416, allocations: 4 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.3418, allocations: 27.72 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.3422, allocations: 127.4 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.3426, allocations: 150.5 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.3429, allocations: 239.3 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3431, allocations: 29.67 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3432, allocations: 115.7 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01338/0.3566, allocations: 1.704 MB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.812e-05/0.3567, allocations: 20 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.3569, allocations: 36 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.357, allocations: 47.81 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.3572, allocations: 91.56 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.3576, allocations: 223.1 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3576, allocations: 0 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3576, allocations: 0 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3576, allocations: 0 / 1.171 GB, free: 2.246 MB / 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.0008584/0.3585, allocations: 0.5525 MB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3585, allocations: 8.031 kB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.3586, allocations: 42.73 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.3586, allocations: 24.84 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.3589, allocations: 251.3 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.359, allocations: 8 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.359, allocations: 16 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3592, allocations: 89.66 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3592, allocations: 0 / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3592, allocations: 7.922 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3592, allocations: 4 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.3593, allocations: 51.92 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.3601, allocations: 468.4 kB / 1.173 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.3606, allocations: 134.7 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.3607, allocations: 36.84 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3607, allocations: 3.938 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.361, allocations: 115.4 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.361, allocations: 0 / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0003483/0.3613, allocations: 173 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.3614, allocations: 55.41 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3617, allocations: 202.5 kB / 1.174 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3617, allocations: 29.7 kB / 1.174 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.3618, allocations: 120.5 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.3618, allocations: 39.72 kB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3619, allocations: 53.69 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3621, allocations: 330.8 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.3622, allocations: 39.98 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.3624, allocations: 127.5 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.3626, allocations: 98.73 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3626, allocations: 0 / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002529/0.3629, allocations: 157.4 kB / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3629, allocations: 4 kB / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3629, allocations: 4 kB / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3629, allocations: 0 / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.363, allocations: 19.94 kB / 1.175 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.363, allocations: 8.125 kB / 1.175 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3632, allocations: 27.86 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3633, allocations: 8 kB / 1.175 GB, free: 14.7 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.0001484/0.3634, allocations: 135.5 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3634, allocations: 15.95 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.3635, allocations: 29.84 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3635, allocations: 4 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3635, allocations: 4 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3635, allocations: 4 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.3643, allocations: 498.1 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.3643, allocations: 0 / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.3643, allocations: 3.938 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3643, allocations: 4 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3643, allocations: 15.81 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3643, allocations: 0 / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3643, allocations: 4 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.3646, allocations: 231.2 kB / 1.176 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3647, allocations: 89.02 kB / 1.176 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3647, allocations: 15.92 kB / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3648, allocations: 7.984 kB / 1.176 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.3649, allocations: 19.98 kB / 1.176 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.3649, allocations: 7.984 kB / 1.176 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001395/0.3651, allocations: 143.2 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3651, allocations: 4 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003004/0.3654, allocations: 47.89 kB / 1.176 GB, free: 13.34 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.0008335/0.3662, allocations: 0.8318 MB / 1.177 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3665, allocations: 103.4 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3665, allocations: 4.062 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.3666, allocations: 51.92 kB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.367, allocations: 61.52 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.3693, allocations: 1.912 MB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3697, allocations: 0.7281 MB / 1.179 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.867e-05/0.3698, allocations: 21.53 kB / 1.179 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3699, allocations: 55.36 kB / 1.18 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.3699, allocations: 0 / 1.18 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.734/2.104, allocations: 5.606 MB / 1.185 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/17.85, allocations: 9.172 kB / 1.185 GB, free: 4.023 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches