Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.341/2.341, allocations: 443.5 MB / 0.7304 GB, free: 13.99 MB / 0.5762 GB " [Timeout remaining time 177] 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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.88 kB / 1.059 GB, free: 1.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2695, allocations: 160.7 MB / 1.216 GB, free: 28 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002786/0.2723, allocations: 1.509 MB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2736, allocations: 0.7525 MB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.2736, allocations: 0 / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.2737, allocations: 7.922 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.2737, allocations: 11.86 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.2742, allocations: 111.6 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2744, allocations: 79.69 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.2744, allocations: 8 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.2745, allocations: 27.92 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.2746, allocations: 39.84 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2746, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.2748, allocations: 111.8 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.2748, allocations: 11.98 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.2749, allocations: 31.86 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.2751, allocations: 135.7 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2751, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2751, allocations: 4 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2752, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006371/0.2758, allocations: 446.4 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2758, allocations: 19.91 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.2759, allocations: 38.72 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.2759, allocations: 8.891 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.276, allocations: 172.3 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.2761, allocations: 4.375 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2761, allocations: 4.375 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.2763, allocations: 77.75 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2763, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2763, allocations: 8 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2763, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.2764, allocations: 43.91 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.2769, allocations: 284.8 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.277, allocations: 50.55 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.2771, allocations: 32.97 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.2771, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.2773, allocations: 83.3 kB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2773, allocations: 0 / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003828/0.2777, allocations: 137.7 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2777, allocations: 59.41 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.2778, allocations: 121.8 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2778, allocations: 29.7 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.2779, allocations: 92.09 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.2779, allocations: 19.83 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.278, allocations: 25.72 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2781, allocations: 322.8 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.2782, allocations: 27.98 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/0.2783, allocations: 61.08 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2784, allocations: 93.06 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2784, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.2787, allocations: 113.5 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2787, allocations: 4 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2787, allocations: 0 / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2787, allocations: 8.156 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.2788, allocations: 15.92 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2788, allocations: 4 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.2789, allocations: 4 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2789, allocations: 11.98 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.443e-05/0.279, allocations: 117.8 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.279, allocations: 7.953 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.279, allocations: 8.375 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.279, allocations: 8 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.279, allocations: 0 / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.279, allocations: 3.938 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.2795, allocations: 386.3 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2795, allocations: 0 / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.2795, allocations: 7.984 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2795, allocations: 3.984 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2795, allocations: 3.984 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2795, allocations: 7.938 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2795, allocations: 0 / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.2798, allocations: 211.4 kB / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.2799, allocations: 81.06 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2799, allocations: 0 / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.28, allocations: 11.92 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.28, allocations: 4 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.28, allocations: 7.984 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.2801, allocations: 95.33 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5e-08/0.2801, allocations: 0 / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002909/0.2804, allocations: 39.92 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007987/0.2812, allocations: 0.8067 MB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.2814, allocations: 67.91 kB / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2814, allocations: 0 / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.604e-05/0.2815, allocations: 32.28 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.2817, allocations: 19.92 kB / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2833, allocations: 1.51 MB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.2836, allocations: 0.6885 MB / 1.225 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.2836, allocations: 4 kB / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.2837, allocations: 19.44 kB / 1.225 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/0.2837, allocations: 0 / 1.225 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.3089, allocations: 2.639 MB / 1.227 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.367, allocations: 0 / 1.227 GB, free: 3.582 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.TOut in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.TOut from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TOut.y,bli.blindState,bli.pDown,TOut.amplitude,TOut.f [Calling sys.exit(0), Time elapsed: 12.615856452001026]