Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.002213/0.002213, allocations: 190.1 kB / 17.31 MB, free: 5.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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 60.84 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2934, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005224/0.2987, allocations: 3.857 MB / 1.023 GB, free: 5.988 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.3013, allocations: 1.773 MB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.3014, allocations: 11.94 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.3027, allocations: 450.9 kB / 1.025 GB, free: 3.754 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.3031, allocations: 250.8 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.3037, allocations: 241.2 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000574/0.3043, allocations: 0.4945 MB / 1.026 GB, free: 2.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.3048, allocations: 360.8 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.305, allocations: 195.3 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.3054, allocations: 239.1 kB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.3054, allocations: 35.98 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.3057, allocations: 183.6 kB / 1.027 GB, free: 1.785 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3059, allocations: 131.7 kB / 1.027 GB, free: 1.656 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.306, allocations: 179.1 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.3065, allocations: 494.3 kB / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3066, allocations: 0 / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3066, allocations: 0 / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.3066, allocations: 4 kB / 1.027 GB, free: 0.9922 MB / 0.795 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.001036/0.3076, allocations: 0.6549 MB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3077, allocations: 12.92 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.3082, allocations: 84.41 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.3086, allocations: 305.2 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3087, allocations: 21.03 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.3087, allocations: 28.36 kB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.3095, allocations: 493.9 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3095, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.3095, allocations: 15.94 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/0.3096, allocations: 36.64 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.3103, allocations: 370.2 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.3124, allocations: 2.037 MB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.313, allocations: 214.7 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.3133, allocations: 160.8 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3134, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3134, allocations: 34.56 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.3134, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.001041/0.3145, allocations: 423 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.3145, allocations: 51.41 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.3148, allocations: 270.5 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.3148, allocations: 29.64 kB / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3149, allocations: 219.7 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.315, allocations: 59.14 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.3151, allocations: 57.89 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3152, allocations: 338.8 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.3155, allocations: 97.91 kB / 1.033 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.3158, allocations: 208.1 kB / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.3163, allocations: 320 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3163, allocations: 0 / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006866/0.317, allocations: 358 kB / 1.034 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3171, allocations: 4 kB / 1.034 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3171, allocations: 4 kB / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.3173, allocations: 36.83 kB / 1.034 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.3175, allocations: 72.08 kB / 1.034 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.3187, allocations: 1.433 MB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.319, allocations: 43.66 kB / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.319, allocations: 8 kB / 1.036 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003121/0.3193, allocations: 217.6 kB / 1.036 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002945/0.3196, allocations: 217 kB / 1.036 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005055/0.3202, allocations: 321.9 kB / 1.036 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/0.3202, allocations: 4 kB / 1.036 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006216/0.3208, allocations: 341.3 kB / 1.037 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3208, allocations: 8 kB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3208, allocations: 8 kB / 1.037 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/0.3208, allocations: 4 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.3211, allocations: 67.89 kB / 1.037 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.3211, allocations: 8 kB / 1.037 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.3214, allocations: 39.72 kB / 1.037 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.3214, allocations: 19.88 kB / 1.037 GB, free: 6.574 MB / 0.8106 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.0001907/0.3216, allocations: 208.1 kB / 1.037 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.3216, allocations: 23.72 kB / 1.037 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.3217, allocations: 30.17 kB / 1.037 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3217, allocations: 4 kB / 1.037 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3217, allocations: 0 / 1.037 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3217, allocations: 0 / 1.037 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.3229, allocations: 0.7485 MB / 1.038 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.323, allocations: 4 kB / 1.038 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.3231, allocations: 39.91 kB / 1.038 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.3233, allocations: 28.91 kB / 1.038 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3233, allocations: 8 kB / 1.038 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.3244, allocations: 1.422 MB / 1.039 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3244, allocations: 0 / 1.039 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.325, allocations: 375.3 kB / 1.04 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3251, allocations: 112.8 kB / 1.04 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3252, allocations: 4 kB / 1.04 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3253, allocations: 11.98 kB / 1.04 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.3254, allocations: 19.97 kB / 1.04 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3254, allocations: 15.94 kB / 1.04 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001615/0.3256, allocations: 186 kB / 1.04 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3256, allocations: 0 / 1.04 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005641/0.3262, allocations: 143.5 kB / 1.04 GB, free: 2.945 MB / 0.8106 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.0001187/0.3263, allocations: 99.19 kB / 1.04 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.3273, allocations: 495.9 kB / 1.041 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3273, allocations: 4.062 kB / 1.041 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.3277, allocations: 222.5 kB / 1.041 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.3282, allocations: 72.69 kB / 1.041 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008737/0.3291, allocations: 0.5567 MB / 1.042 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3294, allocations: 0.7957 MB / 1.042 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.3296, allocations: 74.22 kB / 1.042 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.3297, allocations: 31.42 kB / 1.042 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3297, allocations: 0 / 1.042 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of Templates: time 0.006917/0.3366, allocations: 3.512 MB / 1.046 GB, free: 13.05 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches