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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.00113/0.00113, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.219/1.219, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.549/2.549, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 55.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6025, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003219/0.6058, allocations: 1.905 MB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.6073, allocations: 0.9242 MB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.6075, allocations: 7.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.6077, allocations: 19.86 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.6081, allocations: 95.66 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.6085, allocations: 155.2 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.6088, allocations: 235.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.6089, allocations: 41.56 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.6091, allocations: 111.7 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02732/0.6364, allocations: 2.014 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-05/0.6365, allocations: 16 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.6367, allocations: 43.92 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.6367, allocations: 35.84 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.6369, allocations: 95.5 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.6373, allocations: 219.3 kB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6373, allocations: 0 / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6373, allocations: 0 / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.6373, allocations: 0 / 1.023 GB, free: 13.36 MB / 0.7794 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.0009434/0.6383, allocations: 0.5411 MB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6383, allocations: 8.031 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.6384, allocations: 50.73 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.6385, allocations: 20.75 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.6388, allocations: 251.2 kB / 1.024 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.6388, allocations: 4 kB / 1.024 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.6389, allocations: 16 kB / 1.024 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.6391, allocations: 91.38 kB / 1.024 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.6391, allocations: 0 / 1.024 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.6391, allocations: 7.984 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6391, allocations: 0 / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.6393, allocations: 55.91 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/0.64, allocations: 464.3 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.6406, allocations: 142.7 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.154e-05/0.6407, allocations: 32.86 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.6407, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.6409, allocations: 126.9 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.6409, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003393/0.6412, allocations: 165.4 kB / 1.025 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.6413, allocations: 55.41 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6415, allocations: 198.5 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.6415, allocations: 33.7 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.6416, allocations: 124.4 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.6417, allocations: 27.61 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/0.6418, allocations: 65.67 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6419, allocations: 330.8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.642, allocations: 31.98 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.6422, allocations: 134.7 kB / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.6424, allocations: 108.2 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6424, allocations: 0 / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002506/0.6426, allocations: 155.9 kB / 1.026 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6427, allocations: 4 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6427, allocations: 12.06 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6427, allocations: 0 / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.6428, allocations: 16 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6428, allocations: 7.984 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.643, allocations: 27.83 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.6431, allocations: 4 kB / 1.026 GB, free: 9.82 MB / 0.7794 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.000133/0.6432, allocations: 139.5 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.6432, allocations: 19.75 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.6433, allocations: 25.86 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.6433, allocations: 4 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6433, allocations: 0 / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6433, allocations: 0 / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.644, allocations: 0.4903 MB / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.644, allocations: 0 / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.644, allocations: 11.94 kB / 1.027 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.644, allocations: 0 / 1.027 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.644, allocations: 3.938 kB / 1.027 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6441, allocations: 0 / 1.027 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6441, allocations: 4 kB / 1.027 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.6443, allocations: 226.8 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.6444, allocations: 100.9 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.6444, allocations: 7.922 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.6445, allocations: 19.98 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.6446, allocations: 19.97 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.6447, allocations: 4 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001186/0.6448, allocations: 139.2 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6448, allocations: 0 / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003237/0.6451, allocations: 44 kB / 1.027 GB, free: 8.484 MB / 0.7794 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.0007336/0.6459, allocations: 0.8346 MB / 1.028 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.6461, allocations: 119.7 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6461, allocations: 0 / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.6462, allocations: 51.92 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.6467, allocations: 56.16 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.6487, allocations: 1.916 MB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.649, allocations: 0.7242 MB / 1.031 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.74e-05/0.6491, allocations: 17.55 kB / 1.031 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.6492, allocations: 59.41 kB / 1.031 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6492, allocations: 0 / 1.031 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.6674, allocations: 5.343 MB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.6677, allocations: 290.1 kB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.71, allocations: 0 / 1.036 GB, free: 15.06 MB / 0.795 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches