Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.001279/0.001279, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001346/0.001346, allocations: 177.3 kB / 15.95 MB, free: 216 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.537/1.537, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.564/2.564, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 12 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7915, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001847/0.7934, allocations: 1.198 MB / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.7946, allocations: 0.7056 MB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.7947, allocations: 7.938 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.7947, allocations: 3.938 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.7948, allocations: 7.984 kB / 0.9827 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.7953, allocations: 103.7 kB / 0.9828 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.7954, allocations: 47.94 kB / 0.9829 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.7955, allocations: 15.97 kB / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.7956, allocations: 39.84 kB / 0.9829 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.7957, allocations: 35.89 kB / 0.983 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.7957, allocations: 4 kB / 0.983 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.7958, allocations: 71.81 kB / 0.9831 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.7959, allocations: 19.91 kB / 0.9831 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.7959, allocations: 33.7 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.7961, allocations: 106.1 kB / 0.9832 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.7961, allocations: 0 / 0.9832 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7961, allocations: 4 kB / 0.9832 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.7961, allocations: 0 / 0.9832 GB, free: 3.922 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006993/0.7968, allocations: 462.4 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7969, allocations: 8.031 kB / 0.9837 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.7969, allocations: 38.55 kB / 0.9837 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.797, allocations: 11.84 kB / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.7971, allocations: 174.9 kB / 0.9839 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.7972, allocations: 41.69 kB / 0.9839 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.7972, allocations: 4 kB / 0.9839 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.7974, allocations: 81.59 kB / 0.984 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.7974, allocations: 3.938 kB / 0.984 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.7975, allocations: 0 / 0.984 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.7975, allocations: 4 kB / 0.984 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.7977, allocations: 59.89 kB / 0.9841 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.7982, allocations: 320.7 kB / 0.9844 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.7984, allocations: 78.61 kB / 0.9844 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.7985, allocations: 3.938 kB / 0.9844 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.7987, allocations: 99.36 kB / 0.9845 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.7987, allocations: 0 / 0.9845 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004883/0.7992, allocations: 177.5 kB / 0.9847 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.7993, allocations: 55.41 kB / 0.9848 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.7994, allocations: 141 kB / 0.9849 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.7994, allocations: 25.7 kB / 0.9849 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.7995, allocations: 100.5 kB / 0.985 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.7996, allocations: 19.72 kB / 0.985 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.7996, allocations: 8 kB / 0.985 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7997, allocations: 322.8 kB / 0.9853 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.7998, allocations: 24.36 kB / 0.9854 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.8, allocations: 81.06 kB / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.8001, allocations: 39.97 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8001, allocations: 3.953 kB / 0.9855 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000301/0.8004, allocations: 145.4 kB / 0.9856 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.8004, allocations: 8 kB / 0.9856 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.8004, allocations: 0 / 0.9856 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.8005, allocations: 4 kB / 0.9856 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.8006, allocations: 23.92 kB / 0.9857 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8006, allocations: 0 / 0.9857 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.8007, allocations: 19.92 kB / 0.9857 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.8008, allocations: 16.05 kB / 0.9857 GB, free: 1.102 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001214/0.8009, allocations: 123.4 kB / 0.9858 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.8009, allocations: 11.86 kB / 0.9858 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.801, allocations: 8.719 kB / 0.9858 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.801, allocations: 0 / 0.9858 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.801, allocations: 4 kB / 0.9858 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.801, allocations: 0 / 0.9858 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.8017, allocations: 442.2 kB / 0.9863 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8017, allocations: 3.938 kB / 0.9863 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.8018, allocations: 15.98 kB / 0.9863 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8018, allocations: 0 / 0.9863 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.8018, allocations: 4 kB / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.8018, allocations: 4 kB / 0.9863 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8018, allocations: 0 / 0.9863 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.8021, allocations: 231.3 kB / 0.9865 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.8022, allocations: 85.02 kB / 0.9866 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.8022, allocations: 0 / 0.9866 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.8024, allocations: 19.98 kB / 0.9866 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.8024, allocations: 11.98 kB / 0.9866 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.8025, allocations: 7.984 kB / 0.9866 GB, free: 48 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.8026, allocations: 103.2 kB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8026, allocations: 192 / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003256/0.8029, allocations: 40 kB / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008985/0.8038, allocations: 0.8283 MB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.8041, allocations: 95.81 kB / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8041, allocations: 0 / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.8042, allocations: 51.91 kB / 0.9877 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.8045, allocations: 12.53 kB / 0.9877 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.8055, allocations: 1.221 MB / 0.9889 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.8058, allocations: 0.7004 MB / 0.9896 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.499e-05/0.8058, allocations: 4.672 kB / 0.9896 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.8059, allocations: 27.42 kB / 0.9896 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.8059, allocations: 4 kB / 0.9896 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.8204, allocations: 2.702 MB / 0.9923 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.8207, allocations: 227.4 kB / 0.9925 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.633, allocations: 5.484 kB / 0.9925 GB, free: 10.08 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat does not exist to compare? outputFormat=mat