Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.006512/0.006512, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.001274/0.001274, allocations: 194.9 kB / 16.67 MB, free: 5.961 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.05 kB / 0.9504 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2522, allocations: 140.4 MB / 1.087 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003079/0.2553, allocations: 1.729 MB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2569, allocations: 0.9007 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2571, allocations: 3.938 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.2573, allocations: 31.72 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.2577, allocations: 111.5 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.2581, allocations: 155.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.2584, allocations: 243.3 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2586, allocations: 37.66 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.2588, allocations: 115.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.2706, allocations: 1.997 MB / 1.093 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.2708, allocations: 20 kB / 1.093 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.2709, allocations: 36 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.271, allocations: 39.89 kB / 1.093 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2711, allocations: 99.44 kB / 1.093 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.2714, allocations: 220.2 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2714, allocations: 0 / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2714, allocations: 0 / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2714, allocations: 0 / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007958/0.2722, allocations: 0.545 MB / 1.094 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2723, allocations: 15.97 kB / 1.094 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.2723, allocations: 38.73 kB / 1.094 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.2724, allocations: 28.66 kB / 1.094 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.2727, allocations: 243.4 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2727, allocations: 12 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.2728, allocations: 12 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.273, allocations: 112.8 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.273, allocations: 0 / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.273, allocations: 8 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.273, allocations: 0 / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2732, allocations: 63.88 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.274, allocations: 0.5318 MB / 1.095 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.2742, allocations: 101.3 kB / 1.095 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.2742, allocations: 41.77 kB / 1.095 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.2743, allocations: 3.938 kB / 1.095 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.2745, allocations: 136.2 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.2745, allocations: 0 / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003175/0.2748, allocations: 153.5 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.2748, allocations: 85.05 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.275, allocations: 206.2 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2751, allocations: 33.7 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.2752, allocations: 124.4 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.2752, allocations: 31.59 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.2753, allocations: 61.81 kB / 1.096 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2754, allocations: 334.8 kB / 1.096 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.2755, allocations: 31.92 kB / 1.096 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.2757, allocations: 144 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.2759, allocations: 121.8 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2759, allocations: 0 / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000235/0.2761, allocations: 157.4 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2761, allocations: 6.188 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2761, allocations: 4 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2762, allocations: 4 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.2762, allocations: 19.92 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2763, allocations: 0 / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.2765, allocations: 27.83 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2765, allocations: 12 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001121/0.2766, allocations: 143.6 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.2767, allocations: 15.81 kB / 1.097 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.2767, allocations: 25.52 kB / 1.097 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2767, allocations: 4 kB / 1.097 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2767, allocations: 0 / 1.097 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2767, allocations: 0 / 1.097 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.2773, allocations: 466.2 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2773, allocations: 4 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.2773, allocations: 8 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2773, allocations: 0 / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2774, allocations: 7.938 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2774, allocations: 0 / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2774, allocations: 0 / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.2776, allocations: 236 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.2776, allocations: 92.92 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.2777, allocations: 11.94 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2778, allocations: 15.91 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.2779, allocations: 19.98 kB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.2779, allocations: 7.984 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001119/0.278, allocations: 144.5 kB / 1.098 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.278, allocations: 0 / 1.098 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003069/0.2783, allocations: 43.91 kB / 1.098 GB, free: 7.617 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0006498/0.279, allocations: 0.8432 MB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.2792, allocations: 99.84 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2792, allocations: 0 / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.2793, allocations: 52.23 kB / 1.099 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.2797, allocations: 66.72 kB / 1.099 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.2816, allocations: 1.9 MB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2818, allocations: 0.7319 MB / 1.101 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.711e-05/0.2819, allocations: 21.53 kB / 1.101 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.282, allocations: 61.03 kB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.282, allocations: 3.938 kB / 1.101 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.3038, allocations: 5.642 MB / 1.107 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.799, allocations: 9.422 kB / 1.107 GB, free: 14.18 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activate,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activate,scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y