Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.0009256/0.0009256, allocations: 92.23 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.005823/0.005824, allocations: 169.8 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.314/1.314, 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.421/2.421, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 16.22 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2294, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003874/0.2333, allocations: 3.519 MB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.2357, allocations: 1.749 MB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.236, allocations: 4 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.2362, allocations: 59.5 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.2367, allocations: 239 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.2373, allocations: 230.8 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006525/0.238, allocations: 0.6934 MB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.2384, allocations: 357.5 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.2386, allocations: 163.3 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.239, allocations: 219.1 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.239, allocations: 20 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.2394, allocations: 227.5 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.2395, allocations: 115.7 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.2396, allocations: 180.8 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.2401, allocations: 490.5 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2401, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2402, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2402, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008993/0.2411, allocations: 0.612 MB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2411, allocations: 11.97 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.688e-05/0.2412, allocations: 66.72 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005031/0.2417, allocations: 88.5 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.242, allocations: 295.5 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2421, allocations: 21.03 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.2421, allocations: 28.36 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.2429, allocations: 0.49 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2429, allocations: 4 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.2429, allocations: 15.94 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.243, allocations: 36.62 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.2437, allocations: 390.2 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.2456, allocations: 2.044 MB / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.2462, allocations: 230.5 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.2466, allocations: 172.8 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2466, allocations: 0 / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.2466, allocations: 42.56 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/0.2466, allocations: 0 / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001026/0.2476, allocations: 456.7 kB / 1.072 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.2477, allocations: 55.41 kB / 1.072 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.2479, allocations: 262.6 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.2479, allocations: 29.7 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2481, allocations: 203.8 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.2481, allocations: 75.02 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.2482, allocations: 25.72 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.2483, allocations: 338.8 kB / 1.073 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.2485, allocations: 104.5 kB / 1.073 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.2488, allocations: 219.6 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.2494, allocations: 331.4 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2494, allocations: 4 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007263/0.2501, allocations: 375.6 kB / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.822e-05/0.2502, allocations: 198 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2502, allocations: 4 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.2504, allocations: 32.84 kB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.2507, allocations: 75.89 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.2517, allocations: 1.331 MB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.252, allocations: 51.61 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.252, allocations: 20.02 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.252, allocations: 4 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005942/0.2526, allocations: 301.1 kB / 1.076 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.2526, allocations: 0 / 1.076 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.2527, allocations: 12.34 kB / 1.076 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.2529, allocations: 83.83 kB / 1.076 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2529, allocations: 4 kB / 1.076 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2531, allocations: 39.73 kB / 1.076 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2532, allocations: 12 kB / 1.076 GB, free: 2.766 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.2533, allocations: 249 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.2534, allocations: 27.72 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.2534, allocations: 38.05 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2535, allocations: 4 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2535, allocations: 0 / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2535, allocations: 3.984 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.2545, allocations: 0.7748 MB / 1.077 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2545, allocations: 0 / 1.077 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.2547, allocations: 43.97 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.955e-05/0.2548, allocations: 32.77 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2548, allocations: 8.062 kB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008091/0.2556, allocations: 1.316 MB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2557, allocations: 3.938 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.2563, allocations: 387 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.2564, allocations: 116.8 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2564, allocations: 7.938 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.2566, allocations: 27.98 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.2567, allocations: 11.97 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2567, allocations: 11.94 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001464/0.2568, allocations: 186 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.2568, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004898/0.2573, allocations: 143.5 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000802/0.2581, allocations: 0.9176 MB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009518/0.2591, allocations: 0.5189 MB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2591, allocations: 4.062 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.2594, allocations: 218.6 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.2599, allocations: 79.17 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.2633, allocations: 3.076 MB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2636, allocations: 0.8035 MB / 1.084 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000216/0.2639, allocations: 70.22 kB / 1.085 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.264, allocations: 83.41 kB / 1.085 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.264, allocations: 0 / 1.085 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/0.452, allocations: 5.729 MB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.4522, allocations: 232.9 kB / 1.09 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.592, allocations: 0 / 1.09 GB, free: 3.309 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches