Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 110.8 kB / 16.42 MB, free: 6.512 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.001248/0.001248, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.8003, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005916/0.8063, allocations: 3.831 MB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.8091, allocations: 1.732 MB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.8093, allocations: 10.47 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.8106, allocations: 494.1 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.8111, allocations: 217.3 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.8116, allocations: 209.2 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.8122, allocations: 485.1 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.8129, allocations: 359.8 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.8131, allocations: 206.3 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.8136, allocations: 215 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.262e-05/0.8137, allocations: 28.84 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.8142, allocations: 248 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.8144, allocations: 132.3 kB / 1.097 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.8146, allocations: 167.2 kB / 1.097 GB, free: 428 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.8153, allocations: 0.5015 MB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8153, allocations: 0 / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8153, allocations: 0.7188 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.8153, allocations: 4 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001068/0.8164, allocations: 0.6255 MB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.8165, allocations: 8.656 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000914/0.8174, allocations: 133.4 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.8178, allocations: 300.3 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.8179, allocations: 21.44 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.8179, allocations: 29.67 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.8187, allocations: 466.2 kB / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.8187, allocations: 0 / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.8187, allocations: 16.86 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/0.8188, allocations: 31.16 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.8194, allocations: 320.6 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.8216, allocations: 2.183 MB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.822, allocations: 244.6 kB / 1.101 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.8223, allocations: 106.6 kB / 1.102 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.8223, allocations: 0.9688 kB / 1.102 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.8224, allocations: 44.94 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.8224, allocations: 0 / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0006272/0.823, allocations: 299 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.823, allocations: 53.78 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.8233, allocations: 271.7 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.8234, allocations: 30.36 kB / 1.102 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.8235, allocations: 205.5 kB / 1.102 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.8236, allocations: 53.84 kB / 1.102 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.8237, allocations: 50.58 kB / 1.102 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8238, allocations: 335.7 kB / 1.103 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.8239, allocations: 54.47 kB / 1.103 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.8241, allocations: 151.2 kB / 1.103 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.8244, allocations: 217.5 kB / 1.103 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8244, allocations: 0.75 kB / 1.103 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004631/0.8249, allocations: 265.6 kB / 1.103 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8249, allocations: 7.094 kB / 1.103 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.825, allocations: 2.969 kB / 1.103 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.8251, allocations: 31.25 kB / 1.103 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.8254, allocations: 48.45 kB / 1.104 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.8265, allocations: 1.431 MB / 1.105 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.8267, allocations: 32.34 kB / 1.105 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.8267, allocations: 8.312 kB / 1.105 GB, free: 9.918 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.827, allocations: 170.8 kB / 1.105 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.827, allocations: 32.06 kB / 1.105 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.8271, allocations: 31.34 kB / 1.105 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8271, allocations: 5.172 kB / 1.105 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8271, allocations: 0.6562 kB / 1.105 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.8272, allocations: 113 kB / 1.105 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.8273, allocations: 6.188 kB / 1.105 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.8274, allocations: 6.672 kB / 1.105 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.8275, allocations: 7.875 kB / 1.105 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004504/0.8279, allocations: 254.6 kB / 1.106 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004048/0.8283, allocations: 377.5 kB / 1.106 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.125e-05/0.8284, allocations: 51.88 kB / 1.106 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001772/0.8286, allocations: 193 kB / 1.106 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of Backend: time 6.41e-07/0.8286, allocations: 0 / 1.106 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.8297, allocations: 439.7 kB / 1.107 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001198/0.8309, allocations: 0.9683 MB / 1.108 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of Templates: time 0.009605/0.8405, allocations: 3.896 MB / 1.111 GB, free: 7.691 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches