Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001376/0.001376, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Logit1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 67.83 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7896/0.7913, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001825/0.7931, allocations: 1.239 MB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.7938, allocations: 449 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.7938, allocations: 0.7812 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.7938, allocations: 3.938 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.7939, allocations: 4 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.7943, allocations: 103.8 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.7944, allocations: 23.81 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.7944, allocations: 2.344 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.7944, allocations: 5.375 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.7945, allocations: 14.67 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.7945, allocations: 0.9062 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.7947, allocations: 107.7 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.7947, allocations: 11.7 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.7947, allocations: 7.188 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.7949, allocations: 98.52 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7949, allocations: 0.75 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7949, allocations: 0.7812 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.7949, allocations: 0 / 1.273 GB, free: 6.426 MB / 0.9981 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.000344/0.7952, allocations: 381.6 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.7953, allocations: 13.47 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.7953, allocations: 35.64 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.7953, allocations: 4.812 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.477e-05/0.7954, allocations: 161.4 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.7954, allocations: 7.688 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.7954, allocations: 3.062 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.7955, allocations: 45.45 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7955, allocations: 3.938 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.7955, allocations: 0.9375 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.7955, allocations: 1.062 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.7956, allocations: 6.75 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.7958, allocations: 246.8 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.7959, allocations: 39.77 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.7959, allocations: 13.23 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.7959, allocations: 4.938 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.532e-05/0.796, allocations: 63.7 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.796, allocations: 4.844 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001698/0.7962, allocations: 69.34 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.7962, allocations: 54.86 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.292e-05/0.7962, allocations: 100.5 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.7962, allocations: 26.52 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.48e-05/0.7963, allocations: 86.3 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.7963, allocations: 15.56 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.7963, allocations: 26.3 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.7963, allocations: 316.6 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.7964, allocations: 11.3 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.7964, allocations: 29.31 kB / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.7964, allocations: 55.81 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7964, allocations: 5.062 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.407e-05/0.7965, allocations: 73.16 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7965, allocations: 5.312 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7965, allocations: 2.094 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7965, allocations: 1 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.7966, allocations: 14.03 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.7966, allocations: 0.8125 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.7966, allocations: 6.266 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.7966, allocations: 6.109 kB / 1.275 GB, free: 4.523 MB / 0.9981 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 4.291e-05/0.7967, allocations: 123.5 kB / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.7967, allocations: 9.438 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.7967, allocations: 4.594 kB / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7967, allocations: 1.156 kB / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7967, allocations: 0 / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.7967, allocations: 2.016 kB / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.7969, allocations: 307.5 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7969, allocations: 0.875 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.7969, allocations: 2.406 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7969, allocations: 4.844 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.7969, allocations: 2.203 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7969, allocations: 0.9375 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7969, allocations: 0 / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.797, allocations: 174.9 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.797, allocations: 81.61 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.797, allocations: 5.094 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.7971, allocations: 0 / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.7971, allocations: 6.25 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.7971, allocations: 1.656 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.778e-05/0.7971, allocations: 79.28 kB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7971, allocations: 0 / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002603/0.7974, allocations: 38.55 kB / 1.276 GB, free: 3.719 MB / 0.9981 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.0004721/0.7979, allocations: 0.7713 MB / 1.277 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.798, allocations: 30.69 kB / 1.277 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.798, allocations: 1.031 kB / 1.277 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.798, allocations: 20.11 kB / 1.277 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.7982, allocations: 3.406 kB / 1.277 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.7989, allocations: 1.274 MB / 1.278 GB, free: 17.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.7992, allocations: 0.6778 MB / 1.279 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.7992, allocations: 3.156 kB / 1.279 GB, free: 17.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.7992, allocations: 15.22 kB / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7992, allocations: 0 / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.821, allocations: 2.01 MB / 1.281 GB, free: 16.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.787, allocations: 10.33 kB / 1.281 GB, free: 16.57 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y [Calling sys.exit(0), Time elapsed: 13.044322234998617]