Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.0009998/0.0009998, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007918/0.007918, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.411/2.411, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.6869, allocations: 142.4 MB / 0.955 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00125/0.6882, allocations: 0.941 MB / 0.956 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.6891, allocations: 412.9 kB / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.6891, allocations: 0 / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.6891, allocations: 4 kB / 0.9563 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.6892, allocations: 3.938 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.6896, allocations: 87.28 kB / 0.9564 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.6897, allocations: 17.05 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.6897, allocations: 1.062 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.431e-05/0.6898, allocations: 8.844 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.6898, allocations: 14.25 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.6898, allocations: 1.219 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.69, allocations: 96.44 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.69, allocations: 9.328 kB / 0.9566 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.6901, allocations: 37.14 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.6902, allocations: 97.83 kB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6903, allocations: 1.531 kB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6903, allocations: 0 / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.6903, allocations: 0 / 0.9567 GB, free: 6.375 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003733/0.6907, allocations: 367.9 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.6907, allocations: 9.219 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.6907, allocations: 2.031 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.174e-05/0.6908, allocations: 170.8 kB / 0.9572 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.6909, allocations: 5.344 kB / 0.9572 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.6909, allocations: 6.75 kB / 0.9572 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.787e-05/0.691, allocations: 38.5 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.691, allocations: 1.156 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.691, allocations: 7.875 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.691, allocations: 1.594 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.6911, allocations: 2.812 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.6912, allocations: 165.5 kB / 0.9575 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.093e-05/0.6913, allocations: 34.42 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.6913, allocations: 17.44 kB / 0.9575 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.6913, allocations: 1.25 kB / 0.9575 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.6914, allocations: 51.53 kB / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.6915, allocations: 0 / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002069/0.6917, allocations: 74.42 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.6917, allocations: 56.59 kB / 0.9577 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.6918, allocations: 102.4 kB / 0.9578 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.6918, allocations: 30.67 kB / 0.9578 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.6918, allocations: 81.17 kB / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.6918, allocations: 6.094 kB / 0.9579 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.6919, allocations: 16.16 kB / 0.9579 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.6919, allocations: 320 kB / 0.9582 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.6919, allocations: 4.812 kB / 0.9582 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.692, allocations: 37.86 kB / 0.9582 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.3e-05/0.692, allocations: 44.16 kB / 0.9583 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.692, allocations: 1.562 kB / 0.9583 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.988e-05/0.6921, allocations: 67.75 kB / 0.9584 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6921, allocations: 9.375 kB / 0.9584 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6922, allocations: 1.062 kB / 0.9584 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6922, allocations: 2.281 kB / 0.9584 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.6922, allocations: 21.17 kB / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.6923, allocations: 5.031 kB / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.6923, allocations: 0 / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.6923, allocations: 1.562 kB / 0.9584 GB, free: 4.559 MB / 0.7169 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.6924, allocations: 112.9 kB / 0.9585 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.6924, allocations: 9.656 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.6924, allocations: 3.5 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.6924, allocations: 1.438 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6924, allocations: 3.984 kB / 0.9585 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6924, allocations: 0 / 0.9585 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.538e-05/0.6925, allocations: 162.1 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.6925, allocations: 0 / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.6925, allocations: 2.875 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.6925, allocations: 3.938 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.6925, allocations: 1.406 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6926, allocations: 7.938 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6926, allocations: 3.938 kB / 0.9587 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.6927, allocations: 87.23 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.6927, allocations: 78.36 kB / 0.9589 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.6927, allocations: 3.938 kB / 0.9589 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.6927, allocations: 1.062 kB / 0.9589 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.6928, allocations: 5.203 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.6928, allocations: 1.188 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.6928, allocations: 87 kB / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6928, allocations: 0 / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002451/0.6931, allocations: 30.55 kB / 0.959 GB, free: 3.93 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: 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 (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.0003369/0.6934, allocations: 170.2 kB / 0.9591 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.6935, allocations: 34.2 kB / 0.9592 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6935, allocations: 0 / 0.9592 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.6936, allocations: 11.22 kB / 0.9592 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.6937, allocations: 5.688 kB / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.6939, allocations: 113.3 kB / 0.9593 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.987e-05/0.694, allocations: 0.6745 MB / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.6941, allocations: 5.922 kB / 0.96 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.6941, allocations: 13.66 kB / 0.96 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6941, allocations: 0 / 0.96 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of Templates: time 0.003115/0.6972, allocations: 0.9989 MB / 0.9609 GB, free: 2.43 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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