Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.00094/0.0009401, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005625/0.005625, allocations: 169 kB / 16.26 MB, free: 6.652 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.3/1.3, 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 11.0.0-master/package.mo): time 2.682/2.682, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 12.78 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3182, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001251/0.3195, allocations: 0.9509 MB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3207, allocations: 438.7 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.3208, allocations: 0 / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.3208, allocations: 0 / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.3209, allocations: 0 / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.3216, allocations: 87.8 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.3217, allocations: 19.91 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.557e-05/0.3218, allocations: 4 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.3219, allocations: 15.94 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.3219, allocations: 3.984 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3219, allocations: 4 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.3223, allocations: 103.8 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.3223, allocations: 3.984 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.3223, allocations: 33.64 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3226, allocations: 95.86 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3226, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3226, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3227, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 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.0006175/0.3233, allocations: 373.5 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.3233, allocations: 15.97 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.835e-05/0.3234, allocations: 38.73 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3235, allocations: 4.844 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.3237, allocations: 164.4 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.3237, allocations: 384 / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3237, allocations: 4.375 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3239, allocations: 46.17 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3239, allocations: 3.938 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.324, allocations: 7.984 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.324, allocations: 4 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.324, allocations: 4 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.3245, allocations: 249 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3247, allocations: 38.44 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.3247, allocations: 12.86 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3248, allocations: 4 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3249, allocations: 63.48 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3249, allocations: 0 / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002797/0.3252, allocations: 73.53 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3253, allocations: 59.39 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.3254, allocations: 93.86 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3254, allocations: 41.64 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.3255, allocations: 80.14 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.3255, allocations: 11.83 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.3256, allocations: 17.72 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3257, allocations: 314.8 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.3258, allocations: 11.98 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/0.3258, allocations: 35.42 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.442e-05/0.3259, allocations: 51.36 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3259, allocations: 11.88 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001223/0.3261, allocations: 69.53 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3261, allocations: 9.703 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3261, allocations: 0 / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3261, allocations: 4 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.3262, allocations: 16 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3262, allocations: 0 / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.3263, allocations: 8.281 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3263, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 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 0.0001428/0.3264, allocations: 117.8 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.3265, allocations: 3.984 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.3265, allocations: 11.55 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3265, allocations: 0 / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3265, allocations: 0 / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3265, allocations: 4 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.3269, allocations: 310.7 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3269, allocations: 64 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.3269, allocations: 8 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3269, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3269, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3269, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.327, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.3271, allocations: 171.4 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.3272, allocations: 77.11 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3272, allocations: 4 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.3273, allocations: 0 / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3273, allocations: 4 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3273, allocations: 7.984 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.3273, allocations: 79.28 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3273, allocations: 0 / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002975/0.3276, allocations: 35.88 kB / 1.063 GB, free: 64 kB / 0.8106 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.0007805/0.3284, allocations: 0.7657 MB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.3286, allocations: 35.92 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3286, allocations: 4.125 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.3287, allocations: 20.06 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.3289, allocations: 3.938 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3299, allocations: 1.283 MB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3302, allocations: 0.6809 MB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.3302, allocations: 256 / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.3303, allocations: 15.42 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3303, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.3419, allocations: 1.771 MB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.3422, allocations: 249.2 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.113, allocations: 1.5 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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