Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_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.001512/0.001512, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002367/0.002368, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.562/2.562, allocations: 390.2 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 11.98 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7109, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.001866/0.7129, allocations: 1.482 MB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.7143, allocations: 0.8811 MB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.7144, allocations: 6.625 kB / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.7146, allocations: 22.89 kB / 0.9559 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.7149, allocations: 108.1 kB / 0.956 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.7153, allocations: 136 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.7155, allocations: 137.8 kB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.7156, allocations: 31.52 kB / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.7158, allocations: 106 kB / 0.9564 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.7173, allocations: 1.047 MB / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.7173, allocations: 8.062 kB / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.7174, allocations: 18.88 kB / 0.9575 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.7175, allocations: 39.53 kB / 0.9575 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.7176, allocations: 55.02 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.7178, allocations: 138.9 kB / 0.9577 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.7178, allocations: 0 / 0.9577 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7178, allocations: 1.312 kB / 0.9577 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.7178, allocations: 0 / 0.9577 GB, free: 5.254 MB / 0.7169 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.0007489/0.7186, allocations: 0.5235 MB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.7186, allocations: 8.812 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.7187, allocations: 37.81 kB / 0.9582 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.7187, allocations: 26.45 kB / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.719, allocations: 227 kB / 0.9585 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.7191, allocations: 9.969 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.7191, allocations: 18.98 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.7193, allocations: 96.41 kB / 0.9586 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.7193, allocations: 3.984 kB / 0.9586 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.7193, allocations: 1.125 kB / 0.9586 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.7194, allocations: 2.312 kB / 0.9586 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.7195, allocations: 56.69 kB / 0.9587 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.7203, allocations: 480.5 kB / 0.9591 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.7207, allocations: 152 kB / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.7208, allocations: 5.328 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.721, allocations: 110.9 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.936e-06/0.721, allocations: 0 / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003378/0.7214, allocations: 162.8 kB / 0.9595 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.7214, allocations: 54.16 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.7216, allocations: 206.6 kB / 0.9598 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.7216, allocations: 32.45 kB / 0.9598 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.7217, allocations: 126.1 kB / 0.9599 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.7218, allocations: 37.05 kB / 0.96 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.7218, allocations: 5.375 kB / 0.96 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.7218, allocations: 327 kB / 0.9603 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.7219, allocations: 29.8 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.7221, allocations: 130.7 kB / 0.9604 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.7222, allocations: 38.5 kB / 0.9605 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7222, allocations: 0 / 0.9605 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002805/0.7225, allocations: 163.1 kB / 0.9606 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7225, allocations: 7.406 kB / 0.9606 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7226, allocations: 1.031 kB / 0.9606 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7226, allocations: 6.094 kB / 0.9606 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.7227, allocations: 15.97 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.7227, allocations: 2.312 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.7229, allocations: 31.91 kB / 0.9607 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.7229, allocations: 5.812 kB / 0.9607 GB, free: 2.629 MB / 0.7169 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,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.723, allocations: 142 kB / 0.9608 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.7231, allocations: 24.55 kB / 0.9609 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.7231, allocations: 21.86 kB / 0.9609 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.7231, allocations: 0.75 kB / 0.9609 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7231, allocations: 4.688 kB / 0.9609 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7231, allocations: 0.7188 kB / 0.9609 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.7238, allocations: 0.5024 MB / 0.9614 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.7238, allocations: 0 / 0.9614 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.7238, allocations: 3 kB / 0.9614 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7238, allocations: 0.7656 kB / 0.9614 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.7239, allocations: 9.641 kB / 0.9614 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.7239, allocations: 1.031 kB / 0.9614 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7239, allocations: 0 / 0.9614 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.7241, allocations: 242.8 kB / 0.9616 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.7242, allocations: 92.84 kB / 0.9617 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.7242, allocations: 6.219 kB / 0.9617 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.7243, allocations: 23.14 kB / 0.9617 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.7244, allocations: 21.31 kB / 0.9618 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.7245, allocations: 9.422 kB / 0.9618 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001134/0.7246, allocations: 144.7 kB / 0.9619 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7246, allocations: 0 / 0.9619 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003546/0.7249, allocations: 39.34 kB / 0.9619 GB, free: 1.578 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007057/0.7257, allocations: 0.8312 MB / 0.9628 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.7259, allocations: 105.2 kB / 0.9629 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7259, allocations: 4.875 kB / 0.9629 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.726, allocations: 53.39 kB / 0.9629 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.7264, allocations: 51.27 kB / 0.963 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.7276, allocations: 1.186 MB / 0.9641 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.728, allocations: 0.7338 MB / 0.9648 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.7281, allocations: 23.25 kB / 0.9649 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.7282, allocations: 55.66 kB / 0.9649 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7282, allocations: 0 / 0.9649 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.7477, allocations: 4.992 MB / 0.9698 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.748, allocations: 248.6 kB / 0.97 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.699, allocations: 0 / 0.97 GB, free: 12.18 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat does not exist to compare? outputFormat=mat