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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.001043/0.001043, allocations: 91.06 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.008257/0.008257, allocations: 172.4 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.536/2.536, allocations: 437.8 MB / 0.7121 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004453, allocations: 8 kB / 0.8729 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7335/0.734, allocations: 153.8 MB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001236/0.7353, allocations: 0.9449 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007871/0.7361, allocations: 418.8 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.7361, allocations: 3.938 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.7361, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.8e-05/0.7362, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.7367, allocations: 87.8 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.7367, allocations: 23.91 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.7368, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.7368, allocations: 7.938 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.786e-05/0.7368, allocations: 7.984 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.7368, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.737, allocations: 91.91 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.7371, allocations: 7.922 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.7371, allocations: 33.7 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.7373, allocations: 99.73 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.7373, allocations: 4 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7373, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.7373, allocations: 0 / 1.025 GB, free: 14.04 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.0004092/0.7377, allocations: 375.4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.7378, allocations: 12.03 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.7379, allocations: 30.75 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.7379, allocations: 4.844 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.738, allocations: 168.4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.738, allocations: 384 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.738, allocations: 8.375 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.7381, allocations: 38.25 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.7382, allocations: 3.938 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.7382, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7382, allocations: 4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.7382, allocations: 15.86 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.7385, allocations: 244.9 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.182e-05/0.7386, allocations: 42.5 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.7387, allocations: 16.86 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.7387, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.7388, allocations: 67.41 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.7388, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001892/0.739, allocations: 77.69 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.7391, allocations: 51.41 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.7391, allocations: 101.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.7391, allocations: 33.7 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.7392, allocations: 80.14 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.7392, allocations: 11.89 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.7392, allocations: 13.72 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.7393, allocations: 314.8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.7394, allocations: 19.92 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.7394, allocations: 31.44 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.211e-05/0.7395, allocations: 51.53 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7395, allocations: 7.938 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.7396, allocations: 73.56 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7396, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7396, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.7396, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.7397, allocations: 15.98 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7397, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.7397, allocations: 3.938 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.7398, allocations: 7.938 kB / 1.027 GB, free: 11.88 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.673e-05/0.7398, allocations: 118.3 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.7399, allocations: 4.031 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.7399, allocations: 11.55 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7399, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7399, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7399, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.7402, allocations: 298.5 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7402, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.7402, allocations: 11.92 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7402, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.7402, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7402, allocations: 7.938 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7402, allocations: 4.062 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.7404, allocations: 163.4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.7404, allocations: 81.09 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.7405, allocations: 4 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.7405, allocations: 4.375 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.7405, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.7405, allocations: 4 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.7406, allocations: 83.27 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7406, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002732/0.7409, allocations: 31.94 kB / 1.027 GB, free: 10.96 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0006729/0.7415, allocations: 0.7645 MB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.7417, allocations: 35.92 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7417, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.7417, allocations: 23.92 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.7419, allocations: 1.406 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.743, allocations: 1.271 MB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.7433, allocations: 0.6848 MB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.7433, allocations: 256 / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.7434, allocations: 15.38 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7434, allocations: 0 / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7695/1.513, allocations: 1.763 MB / 1.032 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.513, allocations: 240.3 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/3.602, allocations: 7.938 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > 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/jenkins1/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,time,x,y