Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.1.0-maint.11.x/package.mo", uses=false) 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.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.001425/0.001425, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7424 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 63.55 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2376, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005362/0.243, allocations: 4.109 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.2452, allocations: 1.593 MB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2453, allocations: 8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.2467, allocations: 0.585 MB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.2471, allocations: 234.8 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.2475, allocations: 205.3 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005117/0.248, allocations: 0.5452 MB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.2487, allocations: 482 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.2489, allocations: 227.3 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.2492, allocations: 255 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.2493, allocations: 36 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.2496, allocations: 167.6 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.2497, allocations: 143.7 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.2499, allocations: 195.1 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2504, allocations: 0.5217 MB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2504, allocations: 0 / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2504, allocations: 4 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.2504, allocations: 0 / 1.073 GB, free: 4.965 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00105/0.2515, allocations: 0.6709 MB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2515, allocations: 12.03 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.209e-05/0.2516, allocations: 74.72 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006631/0.2523, allocations: 108.4 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.2526, allocations: 300.1 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.2527, allocations: 55.25 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.2528, allocations: 40.31 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.2535, allocations: 0.5007 MB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2536, allocations: 3.938 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.2536, allocations: 12 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.2537, allocations: 32.98 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.2543, allocations: 375.7 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.2566, allocations: 2.22 MB / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.2572, allocations: 254.8 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.2576, allocations: 164.6 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2576, allocations: 0 / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2577, allocations: 34.56 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 9.92e-07/0.2577, allocations: 4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001395/0.2591, allocations: 0.5693 MB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2591, allocations: 55.39 kB / 1.078 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.2593, allocations: 225 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.2594, allocations: 25.7 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2595, allocations: 215.6 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.2595, allocations: 63.09 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.2596, allocations: 61.61 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2598, allocations: 334.8 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.26, allocations: 88.8 kB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.2603, allocations: 192.3 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004509/0.2607, allocations: 266.6 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2607, allocations: 7.938 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008219/0.2616, allocations: 380.7 kB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2616, allocations: 8 kB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2616, allocations: 0 / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.262, allocations: 105.7 kB / 1.08 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2622, allocations: 59.84 kB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.2653, allocations: 3.048 MB / 1.083 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2656, allocations: 35.67 kB / 1.083 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2656, allocations: 12 kB / 1.083 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003004/0.2659, allocations: 224 kB / 1.084 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002588/0.2662, allocations: 184 kB / 1.084 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004351/0.2666, allocations: 267.5 kB / 1.084 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.2666, allocations: 4 kB / 1.084 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007388/0.2674, allocations: 346.1 kB / 1.084 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.2674, allocations: 12.03 kB / 1.084 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.2674, allocations: 0 / 1.084 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.2677, allocations: 84.78 kB / 1.084 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.2679, allocations: 51.91 kB / 1.085 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.2698, allocations: 1.621 MB / 1.086 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.2701, allocations: 35.67 kB / 1.086 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2701, allocations: 8 kB / 1.086 GB, free: 6.543 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2702, allocations: 196.2 kB / 1.086 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.2703, allocations: 27.86 kB / 1.086 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.2703, allocations: 26.19 kB / 1.086 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2703, allocations: 4 kB / 1.086 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2703, allocations: 7.875 kB / 1.086 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2704, allocations: 3.984 kB / 1.086 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.2716, allocations: 0.8302 MB / 1.087 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2716, allocations: 0 / 1.087 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2718, allocations: 35.91 kB / 1.087 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.2721, allocations: 97.69 kB / 1.087 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2721, allocations: 12 kB / 1.087 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.275, allocations: 3.02 MB / 1.09 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.275, allocations: 0 / 1.09 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.2757, allocations: 418.4 kB / 1.091 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2758, allocations: 116.8 kB / 1.091 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.2759, allocations: 4 kB / 1.091 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.276, allocations: 15.98 kB / 1.091 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.2761, allocations: 19.97 kB / 1.091 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2761, allocations: 4 kB / 1.091 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001353/0.2763, allocations: 164.5 kB / 1.091 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2763, allocations: 0 / 1.091 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005078/0.2768, allocations: 171.3 kB / 1.091 GB, free: 0.9766 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009992/0.2778, allocations: 0.9552 MB / 1.092 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.2795, allocations: 0.7714 MB / 1.093 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2796, allocations: 0 / 1.093 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.2803, allocations: 375.6 kB / 1.093 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.2807, allocations: 54.97 kB / 1.093 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.2844, allocations: 2.84 MB / 1.096 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2848, allocations: 0.8145 MB / 1.097 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.285, allocations: 58.23 kB / 1.097 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.2851, allocations: 91.41 kB / 1.097 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of SimCode: time 1.843e-06/0.2851, allocations: 0 / 1.097 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.5/5.785, allocations: 7.211 MB / 1.104 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/23.39, allocations: 4.062 kB / 1.104 GB, free: 3.676 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat