Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.000947, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001194/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 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.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.924/2.924, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.000421, allocations: 12 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.8324, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001336/0.8338, allocations: 0.9331 MB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.8346, allocations: 398.9 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.8347, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.8347, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.8347, allocations: 7.938 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.8352, allocations: 75.8 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.8353, allocations: 19.97 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.8354, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.8354, allocations: 7.938 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.8354, allocations: 7.984 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.8355, allocations: 8 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.8357, allocations: 91.84 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.8357, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.8357, allocations: 29.7 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.8359, allocations: 67.89 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.8359, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.507e-06/0.8359, allocations: 3.984 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.8359, allocations: 0 / 1.024 GB, free: 14.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00047/0.8364, allocations: 376.5 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.8364, allocations: 12.56 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.8365, allocations: 4 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.8366, allocations: 163 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.8366, allocations: 3.984 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.8366, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.8367, allocations: 41.64 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.8368, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.8368, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.8368, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.705e-05/0.8368, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.837, allocations: 169.5 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.983e-05/0.8371, allocations: 30.52 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.8371, allocations: 16.8 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.8371, allocations: 96 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.8373, allocations: 59.34 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/0.8373, allocations: 4 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002055/0.8375, allocations: 73.59 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.8376, allocations: 51.41 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/0.8377, allocations: 101.8 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.8377, allocations: 29.7 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.8377, allocations: 84.14 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.8378, allocations: 3.906 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.8378, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8379, allocations: 322.8 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.8379, allocations: 7.984 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.838, allocations: 31.44 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.838, allocations: 8 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.838, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001041/0.8381, allocations: 81.48 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8382, allocations: 7.953 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8382, allocations: 4 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.8382, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.8383, allocations: 12 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8383, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.8383, allocations: 3.938 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.8383, allocations: 4 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.451e-05/0.8384, allocations: 121.8 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.8384, allocations: 4.062 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.8385, allocations: 7.453 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8385, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.8385, allocations: 4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8385, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.8386, allocations: 157.7 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8386, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.8387, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8387, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8387, allocations: 7.984 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8387, allocations: 3.953 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8387, allocations: 4 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.8388, allocations: 81.03 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.8389, allocations: 81.09 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.8389, allocations: 4 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.8389, allocations: 0 / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.839, allocations: 7.891 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.839, allocations: 11.94 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.839, allocations: 83.73 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.839, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002382/0.8393, allocations: 32 kB / 1.026 GB, free: 11.76 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003572/0.8396, allocations: 158.9 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.8397, allocations: 28.05 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8398, allocations: 4.062 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-05/0.8398, allocations: 19.92 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.8399, allocations: 4 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.8402, allocations: 108.7 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.8405, allocations: 0.677 MB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.8405, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.8405, allocations: 15.44 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8405, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.003278/0.8438, allocations: 1.004 MB / 1.028 GB, free: 9.691 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y