Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_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.0008455/0.0008453, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009217/0.0009216, allocations: 172.7 kB / 15.95 MB, free: 208 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.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.564/2.564, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8876/0.888, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002194/0.8902, allocations: 1.502 MB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.8918, allocations: 0.8819 MB / 0.9835 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.8919, allocations: 3.938 kB / 0.9835 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.8922, allocations: 23.8 kB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.8925, allocations: 103.6 kB / 0.9836 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.8929, allocations: 146.6 kB / 0.9837 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.8931, allocations: 207.4 kB / 0.9839 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.8933, allocations: 21.67 kB / 0.9839 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.8934, allocations: 107.6 kB / 0.984 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.8981, allocations: 3.135 MB / 0.9871 GB, free: 148 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.8982, allocations: 12 kB / 0.9871 GB, free: 136 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.8983, allocations: 16 kB / 0.9871 GB, free: 120 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.8984, allocations: 39.77 kB / 0.9872 GB, free: 80 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.8985, allocations: 49.64 kB / 0.9872 GB, free: 24 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.8987, allocations: 139.7 kB / 0.9873 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8987, allocations: 0 / 0.9873 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8987, allocations: 4 kB / 0.9873 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.8987, allocations: 0 / 0.9873 GB, free: 15.88 MB / 0.7481 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.0008029/0.8995, allocations: 0.5291 MB / 0.9879 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8996, allocations: 8.031 kB / 0.9879 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.8997, allocations: 42.55 kB / 0.9879 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.8997, allocations: 19.81 kB / 0.9879 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.9, allocations: 238.8 kB / 0.9882 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.9, allocations: 15.89 kB / 0.9882 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.9001, allocations: 16 kB / 0.9882 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.9002, allocations: 85.66 kB / 0.9883 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.9003, allocations: 0 / 0.9883 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.9003, allocations: 4 kB / 0.9883 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9003, allocations: 0 / 0.9883 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.9004, allocations: 55.92 kB / 0.9883 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.9011, allocations: 484.4 kB / 0.9888 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.9016, allocations: 150.7 kB / 0.9889 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.9016, allocations: 40.84 kB / 0.989 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.9017, allocations: 0 / 0.989 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.9019, allocations: 108.5 kB / 0.9891 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 2.906e-06/0.9019, allocations: 0 / 0.9891 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.0003251/0.9022, allocations: 167.6 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.9023, allocations: 63.34 kB / 0.9893 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.9025, allocations: 202.5 kB / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.9025, allocations: 29.7 kB / 0.9895 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.9026, allocations: 120.5 kB / 0.9896 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.9027, allocations: 31.55 kB / 0.9897 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.9027, allocations: 4 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9028, allocations: 334.8 kB / 0.99 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.9029, allocations: 28.36 kB / 0.99 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.9031, allocations: 129.2 kB / 0.9901 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.184e-05/0.9032, allocations: 37.66 kB / 0.9902 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9032, allocations: 4 kB / 0.9902 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002437/0.9034, allocations: 149.3 kB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.9035, allocations: 4 kB / 0.9903 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9035, allocations: 4 kB / 0.9903 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.9035, allocations: 3.938 kB / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.9036, allocations: 23.92 kB / 0.9904 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.9036, allocations: 4 kB / 0.9904 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.9038, allocations: 35.95 kB / 0.9904 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.9038, allocations: 8 kB / 0.9904 GB, free: 12.48 MB / 0.7481 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.0001338/0.904, allocations: 139.5 kB / 0.9905 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.904, allocations: 15.81 kB / 0.9905 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.904, allocations: 25.86 kB / 0.9906 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.9041, allocations: 4 kB / 0.9906 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9041, allocations: 0 / 0.9906 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9041, allocations: 0 / 0.9906 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.9047, allocations: 0.4942 MB / 0.9911 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9048, allocations: 4 kB / 0.9911 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.9048, allocations: 7.984 kB / 0.9911 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.9048, allocations: 4 kB / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.9048, allocations: 4 kB / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.9048, allocations: 3.938 kB / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9048, allocations: 0 / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.9051, allocations: 233 kB / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.9052, allocations: 96.8 kB / 0.9914 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.9052, allocations: 7.984 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.9053, allocations: 19.98 kB / 0.9914 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.9054, allocations: 23.97 kB / 0.9914 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.9054, allocations: 4.047 kB / 0.9914 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001317/0.9056, allocations: 140.5 kB / 0.9916 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9056, allocations: 0 / 0.9916 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003219/0.9059, allocations: 43.98 kB / 0.9916 GB, free: 11.14 MB / 0.7481 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.0008574/0.9068, allocations: 0.8402 MB / 0.9924 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.907, allocations: 99.89 kB / 0.9925 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.907, allocations: 0 / 0.9925 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.9071, allocations: 51.92 kB / 0.9926 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.9076, allocations: 62.86 kB / 0.9926 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.9092, allocations: 0.936 MB / 0.9936 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.9095, allocations: 0.7245 MB / 0.9943 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.726e-05/0.9096, allocations: 25.53 kB / 0.9943 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.9097, allocations: 55.41 kB / 0.9943 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.9097, allocations: 3.938 kB / 0.9944 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.93, allocations: 5.054 MB / 0.9993 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.9302, allocations: 256.7 kB / 0.9995 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.893, allocations: 0 / 0.9995 GB, free: 3.074 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat does not exist to compare? outputFormat=mat